Difference between Triggers and Stored Procedure

Answer Posted / amar goala

The main differnce is that S.P. is explicitly calling for
execute else Onece a Trigger is created Its fired
automatically when any event
occurred like update,insert,delete on table in run time.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible for a stored procedure to call itself or recursive stored procedure?

722


What are different types of replication in sql server?

748


Where is localdb stored?

731


Do comments need to go in a special place in sql server 2005?

650


How can I create a new template for import ? : sql server management studio

794






What is the library index called?

775


you have couple of stored procedures that depend on a table you dropped the table and recreated it what do you have to do to reestablish those stored procedure dependencies?

797


What command is used to delete a table from the database in the sql server and how?

741


How to create a view using data from another view?

728


What is local temp table?

701


How to check parameter value in stored procedure sql server?

657


You have developed an application which uses many stored procedures and triggers to update various tables users ocassionally get locking problems which tool is best suited to help you diagnose the problem?

765


How to change server name in sql server?

794


How many full-text indexes can a table have?

720


Explain what is raid and what are different types of raid levels?

709