求教:级联更新和级联删除
我的问题是在查询设计视图中,比如我打算建两张表,语句分别如下:
Create Table 职工(
工号 char(6) primary key,
姓名 char(8) not null,
性别 char(2),
年龄 int);
Create Table 产品(
产品号 char(4) primary key,
产品名 text(16) not null,
价格 money,
工号 char(6),
Constraint C1 Foreign Key(工号) References 职工(工号) On Delete Cascade'这里有语法错误,如何纠正?
);