Hi all,
When we use trigger in SQL Server ?
When we use trigger in SQL Server
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
DOTNET Developer5 reputationPosted Mar 14, 2012, 6:06 AM EDT
Triggers are used when you need to execute a certain action as a result of an INSERT, UPDATE or DELETE. Data
manipulation code should be executed using stored procedures. One such similar situation where I used trigger is:
When the value of Column A is updated in Table A which is placed in say database X, you need to update the value
of Column B in Table B which is placed in database Y.