Interviews4 answers
Difference between Store Procedure and Trigger?

Purushottam Rathore
Posted Jul 29, 2009, 2:37 AM EDT4 Answers
We can have control over the Stored Procedures where as with Triggers we can't.
Shankar MPosted Apr 25, 2013, 9:12 PM EDT
Triggers are used to implement the Business Logic
where as Stored Procedure can run over a network with different parameters (depends).
Vikrant MorePosted May 6, 2012, 2:35 PM EDT
Stored procedure normally used for performing tasks
But the Trigger normally used for tracing and auditing logs.
Stored procedures should be called explicitly by the user in order to execute
But the Trigger should be called implicitly based on the events defined in the table.
Stored Procedure can run independently
But the Trigger should be part of any DML events on the table.
Stored procedure can be executed from the Trigger
But the Trigger cannot be executed from the Stored procedures.
Stored Procedures can have parameters.
But the Trigger cannot have any parameters.
But the Trigger normally used for tracing and auditing logs.
Stored procedures should be called explicitly by the user in order to execute
But the Trigger should be called implicitly based on the events defined in the table.
Stored Procedure can run independently
But the Trigger should be part of any DML events on the table.
Stored procedure can be executed from the Trigger
But the Trigger cannot be executed from the Stored procedures.
Stored Procedures can have parameters.
But the Trigger cannot have any parameters.
SenthilkumarPosted Aug 6, 2009, 8:15 PM EDT
Store Procedure we need execute manually, trigger fired when the event is occured(insert ,delete,update,..etc).
Purushottam RathorePosted Jul 29, 2009, 2:44 AM EDT


