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 is the difference between numeric and autonumber?
Why plvtab is considered as the easiest way to access the pl/sql table?
Explain the difference between cursor declared in procedures and cursors declared in the package specification?
What is the difference between stored procedure and view?
What is clustered index sql?
what is the difference between join and union? : Sql dba
How do you add a column to a table?
how to show all tables with 'mysql'? : Sql dba
Which is faster count (*) or count 1?
List out the acid properties and explain?
how do you know the version of your mysql server? : Sql dba
What is the usage of when clause in trigger?
Why do you partition data?
How can we optimize a sql query?
What is pl sql block structure?