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

How do I view a sql trace file?

1055


What is sql server and ase?

1066


Explain normalization and what are the advantages of it?

996


What is an alias command?

1110


How do I save the results of sql query in a file?

1010


What is date functions?

1086


explain the delete statements in sql

1129


what are the advantages and disadvantages of views in a database? : Sql dba

1068


What is difference between stored procedure and trigger?

1235


How do you rank data in sql?

1062


Which table is left in join?

1013


Which is better trigger or stored procedure?

1011


What are the sql versions?

995


What are different types of queries in sql?

1168


what is the difference between myisam static and myisam dynamic? : Sql dba

1111