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

Which join is like inner join?

1004


What is cte sql?

967


What are the parts of a basic sql query?

952


what is a database transaction? : Sql dba

1151


What is the difference between drop and truncate commands?

1044


Explain some predefined exceptions.

1016


What steps server process has to take to execute an update statement?

961


how can we optimize or increase the speed of a mysql select query? : Sql dba

922


What is dba in sql? : SQL DBA

1021


How to use sql statements in pl/sql?

1093


how to dump a table to a file with 'mysqldump'? : Sql dba

1022


How do you update sql?

953


What is sql comments?

1057


how to start mysql server? : Sql dba

1180


What is asqueryable?

945