.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> Sql Server >> Post New QuestionBookmark and Share Subscribe to Forum

what is instead of trigger? Give a example

Posted By: Ramesh P     Posted Date: October 19, 2010    Points:2   Category :Sql Server
What is instead of trigger? In which condition we should use it?

Responses
Author: Dhiraj Ranka             
Posted Date: October 20, 2010     Points: 5   

Do you want the replacement of trigger or you want to know INSTEAD-OF in sql triggers

For INSTEAD-OF in sql server trigger

A trigger is a database object similar to a stored procedure that executes in response to certain actions that occur in your database environment. SQL Server 2005 is packaged with three flavors of trigger objects: AFTER, data definition language (DDL), and INSTEAD-OF.

To know more about it refer to
http://msdn.microsoft.com/en-us/library/aa224775%28SQL.80%29.aspx
http://articles.techrepublic.com.com/5100-10878_11-6113179.html

Hope this helps.

Thanks & Regards,
Dhiraj Ranka
http://www.twitter.com/dhirajranka | http://www.dhirajranka.com
Author: Deepika Haridas             
Posted Date: October 27, 2010     Points: 5   

Hi,

Instead of Triggers is executing one procedure instead of the other based on the conditions



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend