ALTER TRIGGER [dbo].[tri_test2] ON [dbo].[student] for INSERT,DELETE,UPDATEAS BEGIN if not exists (select * from deleted) --新增 insert student2(stu_id,stu_name,stu_sex,stu_birthday,class_id) select stu_id,stu_name,stu_sex,stu_birthday,class_id from in…