Please send me Trigger Examples and How to use in my Applications.
Thanks&Reg
Magesh.A
Trigger
3 Answers
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
Jignesh TrivediRank #16 · 50.3K reputationPosted Mar 25, 2012, 10:16 PM EDT
A trigger is a database object that is attached to a table. In many aspects it is similar to a stored procedure.
In other word trigger is special kind of stored procedure.
please refer
http://www.go4expert.com/forums/showthread.php?t=15510
for how to create trigger.
hope this help.
SenthilkumarRank #387 · 6.5K reputationPosted Mar 25, 2012, 10:50 PM EDT
Trigger is a database event, it will be automatically fired when database events happens like DML, DDL in the database.
There are several types of triggers in sql server.
- DMLtrigger
- DDL trigger
-Loggon Trigger
You can get more infomation on:
http://msdn.microsoft.com/en-us/library/ms189799.aspx
http://www.go4expert.com/forums/showthread.php?t=15510
Dipal ChoksiRank #199 · 12K reputationPosted Mar 25, 2012, 10:59 PM EDT
You can set up your custom logic within the triggers to respond to the corresponding database events.