create trigger Delete_Student --创建一个触发器 on student instead of delete 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
时间: 2024-10-13 01:42:06