Difference between Triggers and Stored Procedure

Answer Posted / thirupathi

1. Triggers are implicitly called by DB itself while SP has to be manually called by user.

2. SP can pass the parameters which is not a case with Triggers.

3. While creating a Trigger, triggering event n action has to be specified, which isn’t a case with SP.

4. A Trigger can call the specific SP in it but the reverse is not true.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the three different part of rdl file explain them?

170


What are blobs, tables, and Queues? Is SQL is the standard way to query blobs, tables, and queues?

117


Why is the need for data conversion transformations?

506


Is sql server free?

528


What is trigger explain with program?

540






What is row_number () and partition by in sql server?

523


Explain a join?

623


What is the boxing and unboxing concept in .net?

550


What command is used to create a database in the sql server and how?

609


How many databases instances are there in sql server 2000?

584


Which is faster statement or preparedstatement?

538


Explain Geometry datatype in sql server 2008 with example

594


difference between Clustered index and non clustered index ?

582


Explain the categories of stored procedure?

520


How to create an identity column?

644