What is an Exception ? What are types of Exception ?
Answer Posted / 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 |
Post New Answer View All Answers
What are the different ways to optimize a sql query?
What is nvarchar in sql?
What is the difference between cluster and non-cluster index?
What is partition by in sql?
If a cursor is open, how can we find in a pl/sql block?
what are the maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql
What is sql integrity?
What does count (*) mean in sql?
How do you sort in sql?
Explain correlated query work?
what are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee (eno int(2),ename varchar(10)) ? : Sql dba
What are triggers and its types?
how to add a new column to an existing table in mysql? : Sql dba
Do we need to create index on primary key?
How to write html code in pl sql?