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 |
How to display the contents of a current record fetched in a reference cursor?
How do you run a query?
How does left join work in sql?
What is cartesian join in sql?
what is the use of double ampersand (&&) in sql queries?
I have 2 packages A and B. Now package A references Package B and Package B references Package A. How do you compile such inter-dependent objects in PL/SQL
5 Answers Doyensys, Infosys, Metric Stream,
Is sql better than access?
Explain ttitle and btitle.
How to return more than one value from a function?
What are the disadvantages of file system?
describe transaction-safe table types in mysql : sql dba
How can you select unique records from a table?
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)