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 is a materialised view?

5 Answers  


What is a trigger and what are its types?

0 Answers  


What are the data types in oracle?

0 Answers  


what is load balancing and what u have used to do this?(sql loader)

3 Answers  


What is the difference between "as" and "is" in an oracle stored procedure?

0 Answers  






How do I know if oracle client is installed on windows?

0 Answers  


How to write a query with an inner join in oracle?

0 Answers  


What is the maximum limit on the number of columns in a table?

0 Answers  


9. Display the client name and order date for all orders using the JOIN . . . USING method.

2 Answers   Wipro,


i deleted 4 records form the table.after i have applied commit .now i want to get back those records.how?

7 Answers   HCL, IBM,


What is materialized view in Oracle?

0 Answers   MCN Solutions,


How do we switch from init.ora file to asp file?

2 Answers  


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)