Difference between Triggers and Stored Procedure

Answer Posted / shilpa

triggers are fired automatically when any event ocours like
update ,delete ,insert on a table
whereas sp is set of sql statements its not related to
single table but its can have many sql satements that can
be used in many tables to update, delete and insert .

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between report and query parameter.

801


Why it is recommended to avoid referencing a floating point column in the where clause?

700


What is mscorsvw.exe - process - microsoft .net framework ngen?

692


Can we linked SharePoint to a SQL database?

747


Do you know what are acid properties of transaction?

689






What are Spatial data types in SQL Server 2008

723


What is cursors? And what are the different types of cursor?

742


What is it unwise to create wide clustered index keys?

750


What is the purpose of linked server configuration in sql server?

723


How do you delete a trigger?

742


Write an SQL query to obtain the 2nd highest salary.

795


How do you delete duplicate records in sql server?

723


How to name query output columns in ms sql server?

713


what are different types of backups available in sql server? : Sql server database administration

673


what is a self join? : Sql server database administration

693