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 |
What is the difference between explicit and implicit cursors in oracle?
How do I view a view in sql?
How delete all data from all tables in sql?
What is difference between % ROWTYPE and TYPE RECORD ?
Define commit, rollback and savepoint?
How to fetch values from testtable1 that are not in testtable2 without using not keyword?
how to create temparary sequence
What is the Diff b/w Constraints and Trigeer
why does the selected column have to be in the group by clause or part of an aggregate function? : Sql dba
Which is better cte or subquery?
How do you update a value in sql?
Why coalesce is used in sql?
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)