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

Does sql full backup truncate logs?

1012


What is dense_rank in sql?

966


How do I count records in sql?

987


Which data type is a composite type?

981


What are the different types of dbms?

1005


What are the main features of cursor?

1071


Can you selectively load only those records that you need? : aql loader

1043


Can a varchar be a primary key?

1005


where are cookies actually stored on the hard disk? : Sql dba

1022


What are local and global Indexes and where they are useful.

1435


How long it takes to learn pl sql?

1003


what is the difference between primary key and unique key? : Sql dba

1028


What are aggregate functions in sql?

1150


State some properties of relational databases?

1048


Can we edit a view in sql?

973