Difference between Triggers and Stored Procedure
Answer Posted / avdhesh yadav
1. Stored Procedure may Return a value but Trigger Not,
2. In Stored Procedure you can pass parameter But in
trigger you can't
3. we explicitly call the Stored Procedure when Trigger are
implicitly
fired
4. you can write a Stored Procedure in Trigger but in a
Trigger you cant
write Stored Procedure.
5. Trigger written on an individual Table or View where
Stored Procedure
is written for an Database
Is This Answer Correct ? | 29 Yes | 7 No |
Post New Answer View All Answers
what is a mixed extent? : Sql server administration
Explain what is the function of sql server agent windows service?
How to query multiple tables jointly?
How do indexes help, types?
How much is a sql server license?
Can you edit the .rdl code associated with a linked report?
What is PROJECTION Operation?
Describe in brief sql server monitoring ways.
How to drop an existing table?
How to generate random numbers with the rand() function in ms sql server?
Describe how to use the linked server?
How to view existing indexes on an given table using sp_help?
What are the different editions available in sql server 2000?
Name 3 ways to get an accurate count of the number of records in a table?
What are sql server procedures?