首页 > 代码库 > student表中创建触发器,实现student表和student _course表的级联删除

student表中创建触发器,实现student表和student _course表的级联删除

create trigger Delete_sc
on student
for delete
as
delete student_course where student_course.s_no in(select s_no from deleted)

 

student表中创建触发器,实现student表和student _course表的级联删除