Rohit Kumar
How many types of Triggers in SQL SERVER?
Posted by Rohit Kumar in SQL Server on Dec 02, 2012
  • 0
  • 6
  • 9420
Do you know the answer for this question? Post it below.
Guest
Posted by sd farook on Sep 19, 2013
  • 0

There are three type of Triggers

1)DML

a)Instead of Trigger:Instead of trigger are fired in place of the triggering action such as an insert,update, or delete

b)After Trigger:After trigger excute following the triggering action ,such as an insert,update,or delete.

2)DDL Trigger:

This type of trigger is fired against DDL statements like Drop Table,Create Table,Or Alter Table,DDL Triggers are always after Triggres

3)Logon trigger:

This type of trigger is fired against a LOGON event before a user session is established to the SQL Server

Posted by sd farook on Sep 19, 2013
  • 0

There are three type of Triggers
1)DML
a)Instead of Trigger:Instead of trigger are fired in place of the triggering action such as an insert,update, or delete
b)After Trigger:After trigger excute following the triggering action ,such as an insert,update,or delete.
2)DDL Trigger:
This type of trigger is fired against DDL statements like Drop Table,Create Table,Or Alter Table,DDL Triggers are always after Triggres
Logon trigger:
This type of trigger is fired against a LOGON event before a user session is established to the SQL Server

Posted by Praneet Rane on Mar 19, 2013
  • 0

There are 2 main types of triggers:
1.After triggers (also known as For triggers.
2.Instead of triggers

1.After triggers further classified into :
a.After Insert
b.After Update
c.After Delete.

2. Instead of triggers further classified into :
a.Instead of Insert.
b. Instead of Update.
c. Instead of Delete.

Posted by Sriram Ramasamy on Jan 07, 2013
  • 0

There are 2 types of triggers. They are
1. DML Triggers ---> a. After trigger b. Instead of trigger
2. DDL Triggers

Posted by Sriram Ramasamy on Jan 07, 2013
  • 0

There are 2 types of triggers. They are
1. DML Triggers ---> a. After trigger b. Instead of trigger
2. DDL Triggers

Posted by sonu singh on Dec 28, 2012
  • 0

There are three action query types that you use in SQL which are INSERT, UPDATE and DELETE. So, there are three types of triggers...
AFTER INSERT Trigger.
AFTER UPDATE Trigger.
AFTER DELETE Trigger.
triggers are classified into two main types:-
1 After Triggers (For Triggers)
2 Instead Of Triggers


Most Popular Companies

Most Popular Job Functions

MOST LIKED QUESTIONS

PRIVACY POLICY | TERMS & CONDITIONS | SITEMAP | CONTACT US | ABOUT US | REPORT ABUSE
2014© C# Corner. All contents are copyright of their authors.