Hi all
I am trying to create a relation between two tables.
this is the sql statement in question
alter table T1
add constraint relation_T1_to_ T2
foreign key (T2_ID)
references T2 (ID) on delete cascade;
This relation is created fine if i execute the SQL statement using a
connection to the database.
but if i open the datbase in MSACCESS and open the query build, switch
to the sql view, and perform it, it complains about a syntax error at
the word "delete".
does anyone know why that is?
thanks
I am trying to create a relation between two tables.
this is the sql statement in question
alter table T1
add constraint relation_T1_to_ T2
foreign key (T2_ID)
references T2 (ID) on delete cascade;
This relation is created fine if i execute the SQL statement using a
connection to the database.
but if i open the datbase in MSACCESS and open the query build, switch
to the sql view, and perform it, it complains about a syntax error at
the word "delete".
does anyone know why that is?
thanks
Comment