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

explain extended properties

939


Difference between group by clause and having clause in SQL?

938


Why truncate is ddl?

1043


What is the bookmark lookup and rid lookup?

969


Explain what is raid and what are different types of raid levels?

973


What functions can a view be used to performed?

1016


In what three ways is the return statement used in a stored procedure?

972


Explain left outer join and right outer join?

993


What are “unrepeatable reads”?

1189


How to rebuild all indexes on a single table?

1013


do views contain data ?

924


How to get a list of columns using the "sp_help" stored procedure in ms sql server?

1000


Explain Normalization and DE normalization

1069


What are types of storage modes? : sql server analysis services, ssas

999


What are the types of joins in sql?

1084