ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
What is a trigger?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is a trigger?
Answer
# 1
triggers are special type of stored procedure which are 
automatically invoked at the time of modifyibg tables
 
Is This Answer Correct ?    0 Yes 0 No
Channu Mamane
 
  Re: What is a trigger?
Answer
# 2
Trigger is the collection of T-SQL statements, which is 
activated based on certain actions. Trigger is fired, when 
any of one DML statements will occur..
 
Is This Answer Correct ?    1 Yes 0 No
Sathish Kumar.t
 
 
 
  Re: What is a trigger?
Answer
# 3
Triggers are basically used to implement business rules. 
Triggers is also similar to stored procedures.
The difference is that it can be activated when data is 
added or edited or deleted from a table in a database.
 
Is This Answer Correct ?    2 Yes 0 No
Raji
 
  Re: What is a trigger?
Answer
# 4
Trigger gets executed when an INSERT UPDATE or DELETE occurs

2 types of triggers are INSTEAD OF triggers and AFTER triggers
 
Is This Answer Correct ?    0 Yes 0 No
Jerry Joseph
 
  Re: What is a trigger?
Answer
# 5
Triggers are a special type of Stored procedure which
execute automatically when a triggering action like INSERT,
UPDATE or DELETE occurs.

INSTEAD OF trigger
- executes automatically in place of triggering actions like
INSERT, UPDATE or DELETE
- executes before PK, FK constrains are checked

AFTER trigger
- executes automatically after the statement that triggered
it completes
- executes after constrains are checked
 
Is This Answer Correct ?    1 Yes 0 No
Jerry Joseph
 
  Re: What is a trigger?
Answer
# 6
Trigger is a special type of store procedure.when we are going  
to insert,update,delete table automatically trigger is invoked
 
Is This Answer Correct ?    1 Yes 0 No
Vimal
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
How can your resolve deadlocks? IBM3
What are different types of Keys? Please explain all the keys with a suitable example.  2
how can u select the Distinct values in the table, table having 20 columns , i want all columns  1
What is Files and Filegroups in SQL Server & it's implementation. Zenith1
How will u find the query which is running in some other machine IBM2
What is an extended stored procedure? Can you instantiate a COM object by using T-SQL? HCL3
Can store procedure call by user define function in SQL server? HCL6
Write a query to delete duplicate records in SQL SERVER Infosys19
What is Schema? and why we use schemas?  1
Which stored procedure will you be running to add a linked server?  1
How do you read transaction logs  1
What are statistics, under what circumstances they go out of date, how do you update them? HCL2
After using delete statement in sql query to delete some records...to retrieve the deleted records we can get using rollback command but till that where it stores means particular location name i need....(after deleting and rollback ) iGate2
write down the sql query? Table Name : emp1 empid empname 1 bala 2 guna Table Name : emp2 empid empname 1 <Null> 2 <Null> Solution : emp1 names are updated in emp2, write a query?  7
How can i give the restrictions for the data entry, if i wish to enter only I ,II, III, IV in the grade actegory of student table?  3
What are the advantages of using sql server over ms access or why should one use sql instead of ms access Impetus1
What is the difference between 2-Tier architecture and 3-Tier architecture Oracle11
What is deadlock and how to avoid the deadlocks. Wipro3
Which data type can be used only on OUTPUT parameters of the stored proceduer?  2
Can a stored procedure call another stored procedure. If yes what level and can it be controlled?  2
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com