December 5, 2012 at 3:21 am
Hi Team,
It's my first time to use triggers so Is there a way to create a trigger when a specific column gets
updated or inserted (not the whole table)?
December 5, 2012 at 3:35 am
Same as this topic
http://www.sqlservercentral.com/Forums/Topic1392869-391-1.aspx
December 5, 2012 at 6:32 am
Minnu,
Please stop posting the same question worded differently multiple times. It wont get an answer any faster.
December 5, 2012 at 7:40 am
Minnu (12/5/2012)
Hi Team,It's my first time to use triggers so....?
So... From SSMS, press the F1 key to get into Books Online. Then search for CREATE TRIGGER and start reading. I'm not being sarcastic here. If it's truly your first time, take the opportunity to teach yourself all about triggers so you won't have to ask such questions in the future. To really do it right, create a test database and some tables to practice writting triggers on so you can actually see what they do.
Triggers can be quite the tripping point in code and if you don't have a very firm grasp on what they actually do and how they work and how to use them, you're going to make some really huge and embarassing mistakes.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply