Greetings... I am looking for some help creating triggers under SQL Server. I have (2) Tables that must remain in sync at all times. The user will only be updating 1 table, the master (Table1). When changes (add/edit/delete) are made to the master table (Table1), I need to same exact changes made in the backup table (Table2).
Table1 and Table2 have the exact same structure with each table containing (5) fields. So, I believe I need (3) Triggers: AFTER INSERT, AFTER UPDATE and AFTER DELETE.
Any assistance is appreciated. tia,
Steve Medvid
"IT Consultant & Web Master"
Chester County, PA Residents
Please Show Your Support...
Table1 and Table2 have the exact same structure with each table containing (5) fields. So, I believe I need (3) Triggers: AFTER INSERT, AFTER UPDATE and AFTER DELETE.
Any assistance is appreciated. tia,
Steve Medvid
"IT Consultant & Web Master"
Chester County, PA Residents
Please Show Your Support...