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

Answers were Sorted based on User's Feedback



scope of exception handling in plsql..

Answer / suresh kumar somayajula

Raising an error in PL/SQL execution block is nothing
but "Execption". These are of 2 types.
1.Predefined Exception 2. User defined Exception

Total 19+1 predefined exceptions are there.
19+1 means 19+When Others.
"When others" is the last one.After "When Others" no
exception will be raised.
Eg. for Predefined Exceptions:
No_data_found,Dup_val_on_index,Invalid_cursor,Invalid_number
,Zero_Divide,.......,'When Others'..

Thank you,
Suresh.

Is This Answer Correct ?    8 Yes 2 No

scope of exception handling in plsql..

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

scope of exception handling in plsql..

Answer / guest

to throw errors even when we wrongly tped

Is This Answer Correct ?    1 Yes 1 No

scope of exception handling in plsql..

Answer / shanmukha srinivas

scope of exception (importance of exception)
exceptions r run time errors
in real time every procedures,functions used exception section at the end of program
because its gives which line get error comes, which error is coming by using error log table.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

How do you change a value in sql?

0 Answers  


What are the advantages of sql?

0 Answers  


what are the advantages of primary key over unique+notnull

7 Answers   Consultancy, LGS, Oracle,


Write a query to display the current date in sql?

0 Answers  


What is sql clause?

0 Answers  


Can dml statements be used in pl/sql?

0 Answers  


what is global variable in package

3 Answers   Polaris,


Can we insert data into materialized view?

0 Answers  


What is the reports view in oracle sql developer?

0 Answers  


how to create temparary sequence

2 Answers   TCS,


What are the different ddl commands in sql?

0 Answers  


Does mysql_real_escape_string prevent sql injection?

0 Answers  


Categories