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 the difference between pragma exception_init and
raise_application_error



what is the difference between pragma exception_init and raise_application_error..

Answer / welcomeashwin

PRAGMA EXCEPTION_INIT allows to associate an Oracle error
number with the name of a user-defined error. Here you need
to defined user-defined exception before it is used in
PRAGMA EXCEPTION_INIT. There are two parameters: exception
name and error code.

RAISE_APPLICATION_ERROR allows to create meaningful error
msg.it works with un-named user defined exceptions. It
associates the number of the error with the text of the
error. Therefore, the user-defined exception does nat have a
name associated with it. There are three parameter:
err_number, err_msg, keep-err

Is This Answer Correct ?    40 Yes 4 No

Post New Answer

More SQL PLSQL Interview Questions

What does an inner join do?

0 Answers  


What is rollback?

0 Answers  


what are the differences among these table level lock modes - IN SHARE MODE, IN SHARE UPDATE MODE, IN EXCLUSIVE MODE ?

3 Answers   HCL,


What are the difference between Functions/Stored Procs and Triggers and where are they used.

1 Answers   CGI, TCS,


Which one is faster ienumerable or iqueryable?

0 Answers  


what is a trigger in mysql? Define different types of trigger. : Sql dba

0 Answers  


Which is faster joins or subqueries?

0 Answers  


What is a self join ?

6 Answers   BirlaSoft,


Can two tables have same primary key?

0 Answers  


What is a join?

0 Answers  


how to increment dates by 1 in mysql? : Sql dba

0 Answers  


What is package in pl sql?

0 Answers  


Categories