April 9, 2009 at 4:36 am
Hi All
I am using MS SQL, Sqlserver 2005 with C# code.
I have two tables (table1 and table2).
I need to setup a trigger on table1, so when record - Insert, Update and Delete is done it will then write the key of table1 to table2.
Can any one help?
April 9, 2009 at 5:02 am
hey, i hv to rush for meeting, so cannt explain much... but hope below links will help u...
http://www.sqlservercentral.com/Forums/Topic351362-92-1.aspx#bm609225
http://www.15seconds.com/Issue/041006.htm
also, u can search on google for good example on trigger.
"Don't limit your challenges, challenge your limits"
April 9, 2009 at 9:47 am
Search this site for "auditing triggers". Here you can find some great articles by GSquared:
http://www.sqlservercentral.com/Authors/Articles/GSquared/475322/
Greets
Flo
April 9, 2009 at 10:16 am
Please no cross posts... All further posts please here:
http://www.sqlservercentral.com/Forums/Topic693903-1291-1.aspx
April 9, 2009 at 10:16 am
-- DELETED ---
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply