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

How exception is different from error?

1016


How to read/write files from pl/sql?

1035


How do you create a db file?

1016


What is auto increment in sql?

1121


What is the example of procedure?

928


what are the advantages of using stored procedures? : Sql dba

1105


Why are indexes and views important to an organization?

956


What is error ora-01000: maximum open cursors exceeded

1145


How do you take the union of two tables in sql?

985


Why we use stored procedure instead of query?

997


What are the ddl commands?

1010


Write the alter statement to enable all the triggers on the t.students table.

1125


How do I delete a trigger?

965


How do I run a sql script?

1146


Explain table and field in sql?

1060