What is an Exception ? What are types of Exception ?
Answer Posted / 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 |
Post New Answer View All Answers
what are the different index configurations a table can have? : Sql dba
what are dynamic queries in t-sql? : Transact sql
How do I send sql query results to excel?
Explain what is a subquery ?
What company owns postgresql?
How to download oracle sql developer?
What is an ndf file?
What is trigger explain it?
What is dbo in sql?
What is the best sql course?
What is sqlerrm?
Which query operators in sql is used for pattern matching?
define sql update statement ? : Sql dba
Can we insert data into view?
Is coalesce faster than isnull?