Difference between Triggers and Stored Procedure

Answer Posted / vikas sinha

1)Stored Procedure can call.but trigger is automatically
invoked when action defined in trigger is done.

2)Stored procedure can not be inactive.but trigger can be
active and inactive.

3)Stored Procedure may or may not reture a value.but
trigger will not return a value.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dirty page?

725


can an order by clause be used in a creation of a view?

882


What is autocommit mode in sql server?

710


What is nolock hint in sql server 2008

826


How to insert multiple rows with one insert statement in ms sql server?

792






Can we call future method from trigger?

685


What is the purpose of data source?

712


What are data resources?

664


Create a dts package to produce a text file using the ‘update statistics’ command for the tables in a database with obsolete statistics.

703


What is importing utility?

719


Differentiate between truncate vs delete in mssql?

684


what is the difference between Tabular and Matrix report?

146


What methods do you follow to protect from sql injection attack?

702


Explain datetime2 data type in sal server 2008?

707


What is database replication?

759