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 / sohail

1.Procedure is a subrotine which completly utilises the
concept of stack.
2.Procedure can be called any time when required where as
trigger once created we cannot stop the trigger to fire
when not required.
3.triggers are fired implicitly where as procedure are
called explicitly by procedure name when required.
4.the p_code of procedure is stored in oracle SGA and can
be global to others.

Is This Answer Correct ?    14 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dml with example?

1013


What is the cause of mutating table error and how can we solve it?

995


what is collation? : Sql dba

1079


What is the use of procedures?

926


Why do we use joins?

986


what is column? : Sql dba

962


What are sql queries used for?

981


What is database sql?

988


Can we use update in sql function?

1010


Can we insert data into view?

850


How many types of functions are there in sql?

899


How to get unique records from a table?

898


Why is nosql good?

977


Explain the select statement in sql?

1045


What is sharding in sql?

918