In Exception handling if we are using the when others first
then what happens . whether it will show the compiler error

Answer Posted / subba

When Others exception needed to be handled last. If we use
When Others first, and then other exceptions, following
error will be prompted:

ORA-06550: line 8, column 3:
PLS-00370: OTHERS handler must be last among the exception
handlers of a block
ORA-06550: line 0, column 0:
PL/SQL: Compilation unit analysis terminated

Is This Answer Correct ?    38 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the usage of merge statement?

882


We are using Oracle apps with XML publisher.In that,we are facing some problems while giving a Footer in RTF Template.While giving a footer in RTF Template it is Visible in all the pages,but after the PDF is getiing generated,the Footer are Visible on alternate pages only (like on first page ,third page) and so on. Please provide the Solution for getting the Footer on all the pages.

5114


Explain the use of inctype option in exp command.

792


What are the different types of synonyms?

825


Explain the difference between replace() and translate() functions in oracle?

799


How can windows applications connect to oracle servers?

716


How to build data dictionary view an new database?

783


What is an oracle recycle bin?

721


How to assign data of the deleted row to variables?

803


1) Does oracle have any table which contain all the exceptions and it's code internally?

1510


How to check your oracle database 10g xe installation?

740


Why do we use bulk collect in oracle?

803


what are the advantages of running a database in archive log mode?

1942


Explain what are the type of synonyms?

829


What are the different types of database objects?

733