adspace


Explain trigger and its types?

Answer Posted / Supriya Chaudhary

"Triggers are special types of stored procedures that automatically execute in response to specific events on a database object such as insert, update, or delete. There are four types of triggers in SQL Server: INSERT trigger (fires when new data is inserted), UPDATE trigger (fires when existing data is modified), DELETE trigger (fires when existing data is deleted), and AFTER trigger (fires after the event has occurred) and DDL Triggers (fires when any schema change happens on a database object)."n

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is standby servers? Explain types of standby servers.

1078


What is sql or structured query language?

1227


What are the properties of the transaction?

1072


What is normalization and what are the advantages of it?

1054


How to enter binary string literals in ms sql server?

1244


What is a scheduled job or what is a scheduled task?

1039


What are the different SQL Server Versions you have worked on?

1079


What is sql server query analyzer?

1128


Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?

1022


Why use identity in sql server?

1199


What are the kinds of subquery?

1106


What is subquery? Explain the properties of a subquery?

1059


Does view occupy space?

1019


Why and when do stored procedure recompile?

1060


How to rebuild the master database?

1165