create trigger trg_salesorder ON sales.orders instead of INSERT AS SET NOCOUNT ON; begin try if id > 5 begin insert into sales.orders end end try begin catch print 'id must be more than 5' end catch
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)