Difference between Triggers and Stored Procedure

Answer Posted / madhu prakash p

sp and trigger are both predefined set of sql statements

we can pass the arguments for sp but we cant pass the
arguments for triggers.

trigger will fire implicitly, when ever relavent action
performed by the user on the tables where the triggers are
placed.

But in the stored procedures u must call explicitly.

Is This Answer Correct ?    43 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are the basic functions for master, msdb, model, tempdb databases?

704


What does it mean to manipulate data?

748


How can you start sql server in different modes?

712


What is ssrs?

109


What is exclusive locks?

705






What is the main purpose of having conversation group?

662


What is spatial and temporal data?

710


Explain a differential backup?

751


What is factless fact table? : sql server analysis services, ssas

761


What is log cache in sql server?

714


What is attribute relationships, why we need it? : sql server analysis services, ssas

675


What part does database design plays a role in performance of an sql server-based application?

718


Which language rdl files made of?

114


what is denormalization and when would you go for it? : Sql server database administration

894


In what version of sql server were synonyms released?

694