.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 >> Interview Question >> Sql Server >> Post New Question Subscribe to Interview Questions

What are the two types of Triggers in SQL Server?

Posted By :Narayanan     Posted Date :September 03, 2011    Points :40   Category :Sql Server 
1. After Triggers : Fired after Insert, Update and Delete operations on a table.
2. Instead of Triggers: Fired instead of Insert, Update and Delete operations on a table.



You can also find related Interview Question to What are the two types of Triggers in SQL Server?  below: 

What are the types of indexes available with SQL Server?

  
There are basically two types of indexes that we use with the SQL Server. Clustered and the Non-Clustered. (More...)

How many types of tables are present in SQL SERVER?

  
There are 2 types of temporary tables, local and global in sql server.

Local temporary tables are created using a single pound (#) sign and are visible to a single connection and automatically dropped when that connection ends.

Global temporary tables are created using a double pound (##) sign and are visible across multiple connections and users and are automatically dropped when all SQL sessions stop referencing the global temporary table. (More...)

What are the types of indexes available with SQL Server?

  
There are basically two types of indexes that we use with the SQL Server. Clustered and the Non-Clustered. (More...)

What are the different Types of Triggers?

  
1)Insert Triggers
2)Update Triggers
3)Delete Triggers
4)Instead of Triggers
(More...)

Name the Types of Triggers in WPF?

  
There are three types of triggers in WPF:

1)Property Triggers - run when the value of a dependency property changes.
2)Data Triggers - run when the value of any .NET property changes, using data binding.
3)Event Triggers - run when a routed event occurs.
(More...)

How many types of Stored Procedures are there in Sql Server?

  
1. User Defined Stored Procedures.
a. Transact-SQL stored procedure
b. CLR Stored Procedure.

2. System Stored Procedures (More...)

How many different types of triggers available ? what are they?

  
There are mainly 3 different types of triggers they are

DML Triggers

The Database operations could be done by using Insert,Update,Delete
In this there are 2 different options a) After b) Insted Of

DDL Triggers

The Database operations that could be done using this are Create,Alter,Drop

CLR Triggers

User Defined Triggers (More...)

What are the Different Types of Triggers?

  
1)DML Trigger
2)DDL Trigger

1 )
1.1)Instead of Trigger
1.2)After Trigger (More...)

What are the 2 types of Temporary Tables in SQL Server?

  
1. Local Temporary Tables
2. Global Temporary Tables

(More...)

How many types of triggers are there?

  
1. Insert
2. Delete
3. Update
4. Instead of (More...)

What are the Lock Types in SQL server?

  
Shared lock
Update lock
Exclusive lock (More...)

Tell me types of triggers?

  
Insert,
Update,
Delete,
Instead of (More...)

What are different types of cursors available in SQL Server?

  
Following are different types of cursors available in SQL Server 2005
Base table
Static
Forward-only
Forward-only/Read-only
Keyset-driven
Base table: Base table cursors are the lowest level of cursor available. Base table cursors can scroll forward or backward with minimal cost, and can be updated
Static: Cursor can move to any record but the changes on the data can't be seen.
Dynamic: Most resource extensive. Cursor can move anywhere and all the changes on the data can be viewed.
Forward-only: Cursor moves one step forward, can't move backwards.
Keyset-driven: Only updated data can be viewed, deleted and inserted data cannot be viewed. (More...)

How many types of triggers

  
There are three types of triggers.
DML Triggers
--> AFTER Triggers
--> INSTEAD OF Triggers
DDL Triggers
CLR Triggers (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


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