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...

What is difference between triggers and stored procedures.
And advantages of SP over triggers ?

Answer Posted / anil_abbireddy

1. Triggers are Table dependent,But Procedures are Not
2. We can not pass Parameters through Triggers,But in case
of sp we can pass no.of parameters
3. We can not execute triggers explicitly,but ps we can
4. we can not place transaction processing statments in
triggers(commit,collback,save point), but in ps. we can
5. we cannot overload triggers, but we can overload
functions & procedures using packages.

Is This Answer Correct ?    44 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is nosql vs sql?

1121


What is %s in sql?

972


How can one get sql*loader to commit only at the end of the load file? : aql loader

1004


what is a trigger? : Sql dba

974


Explain isolation levels. : Transact sql

1015


What company owns postgresql?

961


how can you see all indexes defined for a table? : Sql dba

934


Which is the correct statement about truncate and delete?

1035


How many sql databases can you have on one server?

1017


What is benefit of creating memory optimized table?

907


Explain what is a subquery ?

1122


What does the file extension accdb stand for?

916


How does a covering index work?

906


What is difference between primary and secondary key?

973


Can we use join in subquery?

1022