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 |
what is bcp? When does it used? : Sql dba
overloading of stored procedure is possible in oracle?
How to create an array in pl/sql?
What is the difference between DELETE, TRUNCATE, and DROP?
What does desc stand for?
Can we insert data into view?
Can I learn sql in a week?
where are cookies actually stored on the hard disk? : Sql dba
Explain the significance of the & and && operators in pl sql.
What does subquery mean in sql?
Explain the difference between cursor declared in procedures and cursors declared in the package specification?
how to create object in plsql