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

In my table i have 4 columns with 100 records but in that 4 columns one column contains all NULL values so can i add NOT NULL CONSTRAINT on that column......... ok if it is not possible, can i add NOT NULL CONSTRAINT from 101 Record Onwards?

4 Answers   Cap Gemini,


Find all employees in Dept “Marketing”.

2 Answers  


How to end the current transaction in oracle?

0 Answers  


List out the types of joins.

0 Answers  


IS it possible to built the oracle database without setting the kernal parameters?

0 Answers   EDS,






master table and child table performances and comparisons in Oracle ?

0 Answers  


What is a subquery in oracle?

0 Answers  


what are the disadvantages of hierarchial database over RDBMS?

1 Answers   TCS,


HI ALL, CAN ANYONE TELL ME THE DIFFERENCES BETWEEN SQL CLUSTURS,MSQL CLUSTERS,ORACLE CLUSTERS.......THANKS IN ADVANCE

0 Answers  


How are the index updates?

1 Answers  


how to store only time in a data base table

2 Answers  


what are Triggers?

7 Answers   TCS,


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • 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)