what is the order of pre-defined exceptions.
Answers were Sorted based on User's Feedback
Answer / roopesh kumar
We can directly handle them in exception section need not
to declare them. We need to declare them onle in case when
we want to put user friendly message instead of oracle's
default one.
Note: When others should be handle in last of exception
handling part of block.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / rajadurai r
There are 20 pre-defined exceptions.
When an exception is raised,normal execution of your PL/SQL
block or subprograms stops and control transfers to its
exception-handling part.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rahul khanke
pre defined exception u should not have to declare in
declare section
ex. dul_value_error
when_duplicate_row
etc
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / chandra shekher
User Defined exceptions are executed prior to system
defined exceptions.
User defined exceptions are executed in the order in which
they are defined.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / avi007
order of preddfined exceptions is to first catch the
exception in begin end; block
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / suresh somayajula
In these we will use 19+1 exceptions.
it means " When Others " is the last exception in
pl/sql block.execution will be end at When Others exception
Stmt.
suresh.
suresh.somayajula@gmail.com
| Is This Answer Correct ? | 0 Yes | 1 No |
Explain Connect by Prior?
Can we create a trigger on view?
difference between table level constraint and column level and advantages of table level constraint
What is sqlite used for?
how can we destroy the session, how can we unset the variable of a session? : Sql dba
How can I pass the inner procedure value to outer procedure ?
how to remove records from table? no name 1 a 2 b 1 a 2 b 3 c
define sql insert statement ? : Sql dba
How to run sql functions in pl/sql?
What is duration in sql profiler trace?
can i call procedure in package
What do we need to check in database testing?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)