CREATE TRIGGER [dbo].[TRG_INSERT_table] ON [dbo].[tb_table] FOR INSERT AS BEGIN IF --Condition 1 BEGIN --Some Code doing here --This code is ok END ELSE BEGIN IF --Condition 2 BEGIN --Some Code doing here --This code is ok END ---#####This code block was deleted####---- ---but still work in my database---------- ELSE BEGIN IF --Condition 3 BEGIN --Some Code doing here --This code have some problem END END -----############--------------------- END END
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)