Hi,
Does anyone know if it is possible to alter an access table through ODBC. I
am using the following SQL statement to add a foreign key to a table.
Access returns an error like "Syntax error in CONSTRAINT clause". Some how
access does not like "ON DELETE CASCADE"
any help is much appreciated
ALTER TABLE TData
ADD CONSTRAINT FK_nDataID
FOREIGN KEY (nDataID) REFERENCES
TRefStubData(nD ataID)
ON DELETE CASCADE
Does anyone know if it is possible to alter an access table through ODBC. I
am using the following SQL statement to add a foreign key to a table.
Access returns an error like "Syntax error in CONSTRAINT clause". Some how
access does not like "ON DELETE CASCADE"
any help is much appreciated
ALTER TABLE TData
ADD CONSTRAINT FK_nDataID
FOREIGN KEY (nDataID) REFERENCES
TRefStubData(nD ataID)
ON DELETE CASCADE
Comment