What are the different types of triggers in SQl SERVER 2000
What are the different types of triggers in SQl SERVER 2000 ?
There are two types of triggers :
INSTEAD OF triggers
INSTEAD OF triggers fire in place of the triggering action. For example, if an INSTEAD OF UPDATE trigger exists on the Sales table and an UPDATE statement is executed against the Salestable, the UPDATE statement will not change a row in the sales table. Instead, the UPDATE statement causes the INSTEAD OF UPDATE trigger to be executed, which may or may not modify data in the Sales table.
AFTER triggers execute following the SQL action, such as an insert, update, or delete.
This is the traditional trigger which existed in SQL SERVER.
INSTEAD OF triggers gets executed automatically before the Primary Key and the Foreign Key constraints are checked, whereas the traditional AFTER triggers gets executed after these constraints are checked.
Unlike AFTER triggers, INSTEAD OF triggers can be created on views.
2007-10-25, 4758👍, 0💬
How can I include comments in HTML? An HTML comment begins with "<!--", ends with "-->...
Can include files be nested? The answer is yes. Include files can be nested any number of times. As ...
How To Define a Sub Function? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions A...
How many types of validation controls are provided by ASP.NET ? There are six main types of validati...
How To Write a Query with a Right Outer Join? - Oracle DBA FAQ - Understanding SQL SELECT Query Stat...