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 is the process of indexing?

944


What are the different types of cursor?

1042


What is a partition key?

888


What is a cursor, index in sql?

1016


What are the limitations in ssrs on sql server express edition?

175


what is database replication? : Sql server database administration

988


What stored by the msdb? : sql server database administration

954


Explain the different index configurations a table can have?

887


How to list all objects in a given schema?

987


Write a program using SQL queries to find a unique entry in a table.

943


What is change data capture (cdc) in sql server 2008?

981


What is an sql server agent?

997


We need to perform what steps in the following order to work with a cursor?

1170


How to backup SQL Server Reporting Services ?

137


What are the methods used to protect against sql injection attack?

1001