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

Do we need commit after truncate?

1042


Is primary key is clustered index?

952


How does cross join work in sql?

963


How can we debug in PL/SQL?

1099


What is pl sql in dbms?

906


What is embedded sql what are its advantages?

969


What is difference between group by and partition by?

986


What is the difference between the sql*loader and import utilities? : aql loader

992


Why partition by is used in sql?

977


How can we make an if statement within a select statement?

961


How many types of privileges are available in sql?

1290


What is difference between cursor and trigger?

1022


Show code of a cursor for loop.

1010


What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql

954


What are the 3 modes of parameter?

1107