触发器:分为两种DML和DDL
前一种是针对insert,update,delete的
后一种是针对alter drop
create trigger 触发器 on stu for insert as if(select scoer from inserted)<0 begin print ' ' rollback end go
触发器:分为两种DML和DDL
前一种是针对insert,update,delete的
后一种是针对alter drop
create trigger 触发器 on stu for insert as if(select scoer from inserted)<0 begin print ' ' rollback end go