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
Why should I use postgresql?
Do foreign keys improve performance?
What is recursive stored procedure?
How many types of functions are there in sql?
What is a schema sql?
Does sql use python?
What is the difference between functions, procedures, and packages in pl/sql?
what are the types of join and explain each? : Sql dba
What is identity column in sql server?
Explain how to use transactions efficiently : transact sql
how would concatenate strings in mysql? : Sql dba
What is out parameter used for eventhough return statement can also be used in pl/sql?
Can we call stored procedure in function?
Explain cursor types?
What is the maximum number of columns in sql table?