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


Please Help Members By Posting Answers For Below Questions

How to select all records from the table?

593


What is synonyms?

557


What has stored procedures in sql and how we can use it?

553


What are schema-level triggers?

566


What is record data type?

502






How many disk partitions should I have?

536


What is sql clause?

531


Is left join and outer join same?

534


How can you view the errors encountered in a trigger?

532


What is a left join?

493


Which join is like inner join?

547


Does pl sql work in mysql?

518


How can you save or place your msg in a table?

510


What is the cause of mutating table error and how can we solve it?

586


Can %notfound return null after a fetch?

575