Re: Query to add Foreign Key constraint to existing tables?
- From: "Francisco Garcia" <nospam@xxxxxxxxxxx>
- Date: Thu, 15 Sep 2005 09:38:05 +0200
My application is written in C#, and I already use the OLE DB provider.
I've also tried to execute the command from within Access 2000, but it
doesn't work either...
<peregenem@xxxxxxxxxxxx> escribió en el mensaje
news:1126731124.143180.213810@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> Francisco Garcia wrote:
>> I get a "Syntax error in CONSTRAINT
>> clause", and the DELETE word is automatically selected
>
> You may need to execute it via the OLE DB provider e.g. in Access2000
> VBA use
>
> CurrentProject.Connection.Execute "ALTER TABLE ..."
>
.
- Follow-Ups:
- Re: Query to add Foreign Key constraint to existing tables?
- From: peregenem
- Re: Query to add Foreign Key constraint to existing tables?
- References:
- Re: Query to add Foreign Key constraint to existing tables?
- From: peregenem
- Re: Query to add Foreign Key constraint to existing tables?
- Prev by Date: Re: Count on a yes/no field
- Next by Date: Re: Add autonumber key while creating a new table thru MakeTable Query
- Previous by thread: Re: Query to add Foreign Key constraint to existing tables?
- Next by thread: Re: Query to add Foreign Key constraint to existing tables?
- Index(es):
Relevant Pages
|
Loading