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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / uma

If we use when others first all the exceptions will be
caught by this block even when specific exception blocks
are present after that.Also no compiler error will be thrown

Is This Answer Correct ?    9 Yes 16 No

Post New Answer

More Oracle General Interview Questions

What would you do with an in-doubt distributed transaction?

0 Answers  


where do i find oracle interview questions.

1 Answers  


What do you mean by merge in oracle and how can we merge two tables?

0 Answers  


How to define a variable to match a table column data type?

0 Answers  


What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?

0 Answers  


What happens if the imported table already exists?

0 Answers  


What is oracle and what are its different editions?

0 Answers  


I'm doing my final year and i ve planned to do an oracle certification , is this the rit tim nd wat's the future scope??

1 Answers  


I have two tables : COuntry,city I want all the cities in each country.Question on Cross Join.

3 Answers   Microsoft,


How to use subqueries with the exists operator in oracle?

0 Answers  


Please HELP me its urgent? If i want to EXPORT data from SQL server to ORACLE 11g then how can I replicate data from SQL to ORACLE?

3 Answers  


What are the limitations oracle database 10g xe?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)