ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Databases  >>  SQL PLSQL
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
what is the order of pre-defined exceptions.
 Question Submitted By :: Husenaiahb
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the order of pre-defined exceptions.
Answer
# 1
In these we will use 19+1 exceptions.

it means  " When Others " is the last exception in

pl/sql block.execution will be end at When Others exception 

Stmt.

suresh.

suresh.somayajula@gmail.com
 
Is This Answer Correct ?    0 Yes 0 No
Suresh Somayajula
 
  Re: what is the order of pre-defined exceptions.
Answer
# 2
pre defined exception u should not have to declare in 
declare section 
ex. dul_value_error
    when_duplicate_row
etc
 
Is This Answer Correct ?    0 Yes 0 No
Rahul Khanke
 
 
 
  Re: what is the order of pre-defined exceptions.
Answer
# 3
We can directly handle them in exception section need not 
to declare them. We need to declare them onle in case when 
we want to put user friendly message instead of oracle's 
default one.

Note: When others should be handle in last of exception 
handling part of block.
 
Is This Answer Correct ?    0 Yes 0 No
Roopesh Kumar
 
  Re: what is the order of pre-defined exceptions.
Answer
# 4
There are 20 pre-defined exceptions.

When an exception is raised,normal execution of your PL/SQL
block or subprograms stops and control transfers to its
exception-handling part.
 
Is This Answer Correct ?    0 Yes 0 No
Rajadurai R
 
  Re: what is the order of pre-defined exceptions.
Answer
# 5
User Defined exceptions are executed prior to system 
defined exceptions.

User defined exceptions  are executed in the order in which 
they are defined.
 
Is This Answer Correct ?    0 Yes 0 No
Chandra Shekher
 

 
 
 
Other SQL PLSQL Interview Questions
 
  Question Asked @ Answers
 
how instead of triger is helpful for mutating tables errors handlling ? Oracle2
What is a package ? What are the advantages of packages ? Symphony1
what is difference between "Primary key" and "Unique key"? PreVator4
What is pl/sql and what is it used for?  2
Can we write create command in the plsql block?if possible how?  2
How to execute OS(operating system) command from pl/sql?  3
What is clustered and non-clustered indexes? Microsoft3
what is cursor procedure iGate1
What are the advantages and disadvantages, compared to the standard SQL and SQL*plus ?  1
which will fire first ? Trigger or Constraint IBM11
what is the difference between union and union all Oracle6
SELECT category, type, AVG(price) FROM products GROUP BY category, type ORDER BY 1, 2 If there are three distinct categories in the "products" table, and each one has five different types, how many rows are returned by the query above? 1. 1 row 2. 3 rows 3. 5 rows 4. 8 rows 5. 15 rows  1
how to remove records from table? no name 1 a 2 b 1 a 2 b 3 c Oracle4
diff b/w function and procedure? iFlex6
What is the difference between DELETE and TRUNCATE? Tech-Mahindra10
Give the structure of the function ?  1
How One can easily select all even, odd, or Nth rows from a table using SQL queries?  3
1 SELECT a.field1, b.field2, c.field3, d.field4 2 FROM atable a, atable b, ctable c, dtable d 3 ? 4 ORDER BY 1 What is the minimum number of joins that must be specified on line 3 in the sample code above to properly link the tables? Notice that the table "atable" is aliased twice: once as "a" and once as "b." 1. One join 2. Two joins 3. Three joins 4. Four joins 5. Five joins Sonata3
difference between cursor and procedure in a package  2
Types of backups ? TCS3
 
For more SQL PLSQL Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com