I need a exceptoin in pl/sql block so that if any errors
occur in the block then no exception should errors should
raise?
Answer Posted / joseph p v
I think your question is as follows.
I need an exception in pl/sql block so that if any errors
occur in the block then no exception should raise?
For that see the below code part :-
exception
when others then
null;
--Example
declare
cha char(5):='TEST';
num number;
begin
num := cha;
exception
when others then null;
end;
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
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 is pl sql block in dbms?
Write a sql query to get the third highest salary of an employee from employee_table?
How does sql*loader handles newline characters in a record? : aql loader
how do you login to mysql using unix shell? : Sql dba
What is the purpose of primary key?
What are variables in pl sql?
Can we create view in stored procedure?
What is an inner join sql?
Explain commit, rollback and savepoint.
Why sql query is slow?
What is the difference between mdf and ndf files?
Which constraints we can use while creating database in sql?
Explain the significance of the & and && operators in pl sql.
How to find 3rd highest salary of an employee from the employee table in sql?