How the execution will be done in exceptions?

Answers were Sorted based on User's Feedback



How the execution will be done in exceptions?..

Answer / madhuri

Execution is exception is done in many ways.

An exception occurs when there is something wrong in the
code of pl/sql block.
Exception can be raised either in declarative,executable or
in exception section itself.
In case of nested blocks when an exception occurs in inner
block,it will try to find its handle in the same block,if
not then control comes out of inner block and executes the
handler in the outer block.

When exception occurs in declarative and exception
section,then control is propagated to the next outer block.

Is This Answer Correct ?    2 Yes 0 No

How the execution will be done in exceptions?..

Answer / swapna

We use exceptions to check the status of our procs .. like
what to do if the things are not going smoothly as
expected . ie we insert errors in audit tables with
user,date-time,err code.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

In a package if we have 10 procedures or functions,How to know which will execute first?

1 Answers   Sollet Soft,


overloading of stored procedure is possible in oracle?

3 Answers   Nelco,


Write the alter statement to enable all the triggers on the t.students table.

0 Answers  


How to select random rows from a table?

0 Answers  


Can we rename a column in the output of sql query?

0 Answers  






What is indexes?

0 Answers  


Explain ddl statements in pl/sql?

0 Answers  


Why are indexes and views important to an organization?

0 Answers  


what is timestamp in mysql? : Sql dba

0 Answers  


How do you truncate?

0 Answers  


What is scope of pl sql developer in future?

0 Answers  


What is sql key?

0 Answers  


Categories