CREATE Trigger trg_A ON A FOR INSERT AS Begin Declare @Col1 int, @Col2 varchar(20) Select @Col1=i.col1, @Col2=i.col2 FROM Inserted i INSERT INTO B VALUES(@Col1,@Col2) End
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)