March 9, 2009 at 6:54 am
How to create trigger on my server but perticular database not a whole sever .I Can Handle Insert,update ,delete cmd in this trigger
plz reply
March 9, 2009 at 7:17 am
Here is an article that deals with the basics of DML triggers, http://www.sqlservercentral.com/articles/Triggers/64214/.
You should also lookup triggers in Books On Line.
SSMS also has templates that show you the syntax on how to create triggers.
Have you tried anything, yet?
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 9, 2009 at 8:23 am
Insert, update and delete triggers are placed on specific tables, not on a whole database or server. You have to add them to each table.
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply