SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Delete Trigger
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Gerald30
Starting Member

Philippines
49 Posts

Posted - 10/11/2012 :  22:50:58  Show Profile  Reply with Quote
Hello again.

How can I create an update trigger in which when I update table 1 it will also update Table 2.

Lets say I have 2 Tables.
Table 1 with columns ID, Employee_ID, Name and Age.
Table 2 with columns ID, Employee_ID, Name and City.

If I will update one record in Table 1 it will also do the update in Table 2.

Also a delete trigger.

Please help me I`m not yet familiar in using MSSQL.

Thank you

Gerald30
Starting Member

Philippines
49 Posts

Posted - 10/12/2012 :  00:52:02  Show Profile  Reply with Quote
All ready figure it out thank you
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000