发布网友 发布时间:2022-04-30 02:03
共3个回答
懂视网 时间:2022-04-30 06:25
as declare @sno varchar(20) select @sno= sno from deleted delete from score where sno=@sno delete from student where sno=@sno go delete from Student where Sno=‘101‘ select *from Student select *from Score
sql-server数据库中利用触发器实现表与表之间的级联删除
标签:
热心网友 时间:2022-04-30 03:33
下面是在user表上建立触发器的语句,在topic上建触发器的语句类似热心网友 时间:2022-04-30 04:51
delete