How the execution will be done in exceptions?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you pass hints to the sql processor?

704


what is 'mysqlcheck'? : Sql dba

746


What is secondary key?

670


Are there any features that are decommissioned in 11g that are not present in 11g?

1819


how to write date and time literals? : Sql dba

698






Does db2 use sql?

673


How can you get sql*loader to commit only at the end of the load file? : aql loader

745


What is a sql profiler?

770


What port does sql server use?

709


What is a table in a database?

782


Which is faster truncate or drop?

776


What will you get by the cursor attribute sql%rowcount?

759


how to get a list of columns in an existing table? : Sql dba

709


How many indexes can be created on a table in sql?

685


What is varchar used for?

750