create trigger tr_table1_update
on table1
for update
as
if exists (select * from inserted where 合计>101)
begin
RAISERROR ('合计>101', 16, 1)
ROLLBACK TRANSACTION
end
go
on table1
for update
as
if exists (select * from inserted where 合计>101)
begin
RAISERROR ('合计>101', 16, 1)
ROLLBACK TRANSACTION
end
go
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货