Difference between Triggers and Stored Procedure

Answer Posted / naveen jindal

trigger fired implicitely that is when ever events like
insert/update/delete commands.

Where as stored procedure is not fired implicitely. when
ever we call then only the stored procedure fire.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how many type of indexing in database?

781


Explain transaction server consistency?

743


You want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition?

780


What are the basic features of a trigger in ms sql server?

857


Does an index slow down updates on indexed columns?

765


What is change tracking in sql server?

760


What is primary key, unique key, and foreign key?

783


How can I check that whether automatic statistic update is enabled or not?

856


Why you need indexing? Where that is stored and what you mean by schema object? For what purpose we are using view?

729


Tell me when is the update_statistics command used?

786


why would you use sql agent? : Sql server database administration

850


What is inner join? Explain with an example?

930


What is coalesce and check constraint in sql server?

781


What is the difference between drop table and truncate table?

716


How to use union to merge outputs from two queries together in ms sql server?

818