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

What is gpt format?

698


what are the authentication modes in sql server? : Sql dba

734


what are the differences among rownum, rank and dense_rank? : Sql dba

742


how to use in conditions? : Sql dba

693


What is dml statement?

699






How many sql commands are there?

851


What is hibernate and its relation to sql?

789


What is cost in sql execution plan?

683


how to analyze tables with 'mysqlcheck'? : Sql dba

720


How do I remove all records from a table?

770


what is the use of set statement in tsql? : Transact sql

740


What is nvarchar max in sql?

752


What are aggregate and scalar functions?

725


What will you get by the cursor attribute sql%found?

701


What is the syntax to add a record to a table?

784