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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Define select, insert, create, delete, update, drop keywords

1049


What is the difference between subquery and correlated query?

1065


What is information schema in sql?

1070


How do we accept inputs from user during runtime?

1065


Show how functions and procedures are called in a pl/sql block.

1127


What are the advantages of stored procedure?

1005


What are few of the schema objects that are created using PL/SQL?

1039


What are the steps for performance tuning.

1338


how many sql dml commands are supported by 'mysql'? : Sql dba

1123


what are all the different types of indexes? : Sql dba

1048


How many commands are in sql?

1072


Can we use having without group by in sql?

982


what is the difference difference between procedure and packages

10410


How to pipe multiline string to isql?

1007


What does trigger mean in psychology?

962