scope of exception handling in plsql

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


Please Help Members By Posting Answers For Below Questions

What does trigger mean in slang?

529


How do you run a query?

589


How many sql core licenses do I need?

509


What is %type in pl sql?

540


what are the properties and different types of sub-queries? : Sql dba

506






What is sql query optimization?

544


Do we need to rebuild index after truncate?

529


What is dialect in sql?

527


Can we use pl sql in sql server?

539


What is offset in sql query?

596


Which version of sql do I have?

562


What is duration in sql profiler trace?

553


How many sql are there?

514


What is the difference between the implicit and explicit cursors?

525


what are the difference between clustered and a non-clustered index? : Sql dba

529