Difference between Triggers and Stored Procedure

Answer Posted / j.shantha kumari

Set of Sql statements called stored procedure.

The SQL CREATE TRIGGER statement provides a way for the
database management system to actively control, monitor, and
manage a group of tables whenever an insert, update, or
delete operation is performed. The statements specified in
the SQL trigger are executed each time an SQL insert,
update, or delete operation is performed. An SQL trigger may
call stored procedures or user-defined functions to perform
additional processing when the trigger is executed.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between uniqe index and uniqe constraint?

553


What is a transaction and why is it important?

576


What is the current pricing model of SQL Azure?

90


Write the syntax for stuff function in an sql server?

538


Why are you getting errors when creating a new odbc dsn?

593






What do you understand by physical_only option in dbcc checkdb?

581


Explain ranking functions?

612


What is transact-sql language?

580


What is spatial and temporal data?

536


What are the basic features of a trigger in ms sql server?

569


What is primary key index?

541


List the different index configurations possible for a table?

516


Is natural join and equi join same?

532


Explain the advantages of merge replication?

517


Why can there be only one clustered index and not more than one?

550