Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

scope of exception handling in plsql

Answer Posted / bala

Scope of exception in plsql is handled by Exception Block..
this is depends on the code you had written.
suppose u have created one more plsql block inside a plssql
block,if the inner block is not handled any exception then
the outer block will handle the exception by defining the
situation/even like "when others then / when value_error
then... etc "

Note.. when u r using "when Others then" all the exceptions
will handle by this exception.. Even there is no error the
plsql will return 0 for this exception that is executed by
default in a plsql block. So. be carefull while writting
this kind of exception ("When others then")

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define a temp table?

1005


How do I create a sql script?

1085


Mention what are different methods to trace the pl/sql code?

1178


Why partition by is used in sql?

1014


Define commit?

980


Can a primary key be a foreign key?

1005


What is rownum?

964


What is an exception in PL/SQL? What are the two types of exceptions?

1278


What is pl sql code?

1035


what is column? : Sql dba

989


what are numeric data types? : Sql dba

1047


Is full outer join same as cross join?

952


what are the type of locks ? : Sql dba

944


what is self-join? : Sql dba

1127


Can a procedure in a package be overloaded?

1029