What is a trigger?

Answers were Sorted based on User's Feedback



What is a trigger?..

Answer / sathish kumar.t

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 ?    4 Yes 0 No

What is a trigger?..

Answer / raji

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 ?    3 Yes 1 No

What is a trigger?..

Answer / jerry joseph

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 ?    2 Yes 0 No

What is a trigger?..

Answer / jerry joseph

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 ?    1 Yes 0 No

What is a trigger?..

Answer / vimal

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

What is a trigger?..

Answer / subodh devarde

Triggers are special type of stored procedure which execute automatically whenever any changes are occured in table in database after using insert update ,delete command.

Is This Answer Correct ?    0 Yes 0 No

What is a trigger?..

Answer / channu mamane

triggers are special type of stored procedure which are
automatically invoked at the time of modifyibg tables

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More SQL Server Interview Questions

What is an extended Stored Procedure?

1 Answers  


What are number line correlation administrators will use while working with a subquery?

0 Answers  


Explain comment on transactions?

0 Answers  


Write a SQL query in order to merge two different columns into single column?

0 Answers   QuestPond,


What is surrogate key? : sql server analysis services, ssas

0 Answers  






1.Describe way(s) to tune the SQL table in order to optimize performance. 2. Explain SQL Injection and how can you prevent them?

1 Answers   Techno Solutions,


How to convert a table data in XML format in sql server?

0 Answers  


What is the meaning of resultset type_scroll_insensitive?

0 Answers  


What is the SQL?????????????????????????????

5 Answers   CMS,


What is the best way to move n number of DTS package from one SQLServer to another SQLServer?

1 Answers   RBS,


Will the writetext statement activate a trigger?

0 Answers  


Do you know the policy based administration feature of sql server 2008?

0 Answers  


Categories