What is an Exception ? What are types of Exception ?
Answers were Sorted based on User's Feedback
Answer / tulsi
Exception is the error handling part of PL/SQL block. The
types are Predefined and user_defined. Some of Predefined
execptions are.
CURSOR_ALREADY_OPEN
DUP_VAL_ON_INDEX
NO_DATA_FOUND
TOO_MANY_ROWS
INVALID_CURSOR
INVALID_NUMBER
LOGON_DENIED
NOT_LOGGED_ON
PROGRAM-ERROR
STORAGE_ERROR
TIMEOUT_ON_RESOURCE
VALUE_ERROR
ZERO_DIVIDE
OTHERS.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / chintu
Any ubnormal event in a program is called Exception.
In pl/ sql there are two types of exceptions they are
Userdefind Exception and predefined Exceptions.
Predefined exceptions are
CURSOR_ALREADY_OPEN
DUP_VAL_ON_INDEX
NO_DATA_FOUND
TOO_MANY_ROWS
INVALID_CURSOR
INVALID_NUMBER
LOGON_DENIED
NOT_LOGGED_ON
PROGRAM-ERROR
STORAGE_ERROR
TIMEOUT_ON_RESOURCE
VALUE_ERROR
ZERO_DIVIDE
OTHERS.
user defined exceptions are defined by raise_application_
error("error msg","error number") and
pragma_exception_init()
Is This Answer Correct ? | 6 Yes | 0 No |
What is your daily office routine?
what is schema? : Sql dba
What is a trigger ?
11 Answers Accenture, BirlaSoft,
What is the use of procedures?
What is the difference between RDBMS and DBMS?
20 Answers Practical Viva Questions, Sapient, Stag Computers,
What are the advantages and disadvantages, compared to the standard SQL and SQL*plus ?
What is materialised View?
What is the difference between microsoft access and sql?
How to find only %th Highest Sal
What are stuff and replace function?
What is lexical units in pl sql?
What is sqlservr exe?