1. alter table 外键表 
  2.    add constraint 级联删除名 foreign  key (外键字段) references 主表名(主表字段)ON  delete  CASCADE 
  3. go