Answer Posted / suresh kumar somayajula
Raising an error in PL/SQL execution block is nothing
but "Execption". These are of 2 types.
1.Predefined Exception 2. User defined Exception
Total 19+1 predefined exceptions are there.
19+1 means 19+When Others.
"When others" is the last one.After "When Others" no
exception will be raised.
Eg. for Predefined Exceptions:
No_data_found,Dup_val_on_index,Invalid_cursor,Invalid_number
,Zero_Divide,.......,'When Others'..
Thank you,
Suresh.
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
Why trigger is used in sql?
What is the default isolation level in sql server? : Transact sql
Can we debug stored procedure?
What are views in sql?
What is procedure and function in sql?
What is clustered and nonclustered index in sql?
Can we delete column in sql?
What is a left join?
What is the difference between explicit and implicit cursors in oracle?
How to change the order of columns in Oracle SQL Plus ?
What is a parameter query?
What is primary key sql?
What are the two virtual tables available at the time of database trigger execution?
What is clustered index sql?
how to use in conditions? : Sql dba