What is Trigger?

Answers were Sorted based on User's Feedback



What is Trigger?..

Answer / koti-khammam

Trigger is a special type of stored procedure that will
fire automatically when ever data modifications like
INSERTIONS,UPDATIONS or DELETIONS occurs on the table.

Is This Answer Correct ?    11 Yes 0 No

What is Trigger?..

Answer / kaushik chatterjee

A trigger is some what simillar to stored procedure. It is
written to perform a set of predefined actions when a
perticular database objecy such as tables,views are
DELETED,INSERTED,UPDATED.
Triggers are implicitly called and are NOT instactiated by
the user. Once written, it will be called automatically by
the DBMS engine when a UPDATE/DELETE/INSERT operation is
performed on the database object for which the trigger is
intended or written.
Triggers can be written for any one of the 3 operations
written above or all of them.

Is This Answer Correct ?    6 Yes 0 No

What is Trigger?..

Answer / pawan378

above answers are correct.
let me add some thing.

Trigger
(Pre - Trigger) is a dynamic Rule that should be done before
Data modification Happens.
or
(Post - Trigger) is a Consequent step that should be taken
as soon as the Data Happens.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More SQL Server Interview Questions

Explain what is the difference between a local and a global temporary table?

0 Answers  


What is history table in sql server?

0 Answers  


What are the types of stored procedures in an sql server?

0 Answers  


What is a derived table?

0 Answers  


what is performance tunning in sql server ? explain.

1 Answers   Thomson Reuters,






We need to perform what steps in the following order to work with a cursor?

0 Answers  


difference between sql server2000 and sql server2005

1 Answers   KPMG,


What is the meaning of lock escalation and why/how to stop this? : sql server database administration

0 Answers  


your distribution database is full what will u do

0 Answers  


The Difference between 'Count' and 'Count(*)'

13 Answers  


What is sql server locking?

0 Answers  


What are the types of lock supported by ?

0 Answers   HCL,


Categories