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's the difference between a primary key and a unique key? : Sql server database administration
List all types of constraints in sql server?
What are trace flags and mention a few common trace flags used with sql server?
How to copy data from one table to another table?
How to rebuild all indexes on a single table?
Find first and last day of current month in sql server
How to create a new table in a given schema?
Can we do dml on views?
Can we add an identity column to decimal datatype?
How we can compare two database data?
Is ssrs support other database except ms sql server?
How to define the name and server for a new dsn?
What stored by the msdb?
What is the difference between dataadapter and datareader?
Is there any difference between the primary key and unique key?