Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Difference between Triggers and Stored Procedure

Answer Posted / pramod bansode

1> For executing Sp we have to call Stored Procedure. But in
case of Trigger it is call whenever there is an action taken
on table or column(Insert, Update ,Delete).
2> From SP we pass Values But from Trigger we cant.
3> stored procedure returns value but trigger cannot returns
value.
4> For SP we have to compile. for Trigger no need to compile.
5> we return SP in Trigger but Trigger can not be in SP.

Is This Answer Correct ?    18 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by an execution plan? Why is it used? How would you view it?

911


What is the difference between grant and with grant while giving permissions to the user?

941


How do I start sql server 2016?

880


What is difference between cte and view?

894


What is a functions and types in sql server?

1064


Why do we partition data?

1011


What is optimistic concurrency?

1017


How check triggers in sql server?

966


How do I save a stored procedure in sql server?

972


Why do we use functions?

895


Can we return Data from 4(more than 1) tables in stored procedure?

1042


How to create a new schema in a database?

1112


How to drop an existing user defined function in ms sql server?

1017


On a windows server 2003 active – passive failover cluster, how do you find the node which is active?

1188


How will you make an attribute not process? : sql server analysis services, ssas

1065