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 |
difference between SQL and C
1 Answers Indus Software Technologies,
How do you write an index?
Are stored procedures faster than queries?
name 3 ways to get an accurate count of the number of records in a table? : Sql dba
Where is sql database stored?
Define the select into statement.
Can a table have two primary keys?
Is it mandatory for the primary key to be given a value when a new record is inserted?
what is global variable in package
What sql database should I use?
what is the difference between union and union all? : Sql dba
What are character functions in sql?