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

Can we create a trigger on view?

901


what is foreign key? : Sql dba

1058


Explain aggregate functions are available there in sql?

1011


how to create a test table in your mysql server? : Sql dba

1013


What is crud stand for?

998


what is 'mysqldump'? : Sql dba

1112


How to add, remove, modify users using sql?

1039


Explain the purpose of %type and %rowtype data types?

931


What are the types of operators available in sql?

1066


Which kind of parameters cannot have a default value in pl sql?

1150


How to call a javascript function from pl sql?

1143


How many row comparison operators are used while working with a subquery?

1033


Can a table have no primary key?

1065


What is substitution variable in pl sql?

1051


what is error ora-03113: end-of-file on communication channel?

1166