I am using SqlBulkCopy class to insert 50k rows at a time in table tbl_records I have set a After Insert trigger on this table and usi
SqlBulkCopy
tbl_records
After Insert
I Have try this and it will work for.
I hope its help you..
CREATE TRIGGER Triggername ON TableName After INSERT AS SET NOCOUNT ON;
insert into TargetTable (Fields) SELECT (i.field1,i.field2,i.field3,....,i.fieldn) FROM inserted i GO