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

What is the use of triggers?

0 Answers  


How do you rank data in sql?

0 Answers  


What is the purpose of a secondary key?

0 Answers  


How consistent is the view of the data between and within multiple sessions, transactions or statements ?

0 Answers  


Which one of the following join types will always create a Cartesian Product? 1. CROSS JOIN 2. LEFT OUTER JOIN 3. RIGHT OUTER JOIN 4. FULL OUTER JOIN 5. INNER JOIN

2 Answers  






How did you export data from database to excel file.

1 Answers   TCS,


Explain ttitle and btitle.

0 Answers  


What is extent clause in table space?

1 Answers   TCS,


what is the syntax for using sql_variant_property? : Transact sql

0 Answers  


Difference between table function and pipelined function?

0 Answers  


what is the difference between where clause and having clause? : Sql dba

0 Answers  


What is blind sql injection?

0 Answers  


Categories