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 / 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 |
Write the order of precedence for validation of a column in a table? I. Done using database triggers. Ii. Done using integarity constraints
What are the different type of joins in sql?
What is error ora-12154: tns:could not resolve the connect identifier specified?
Why procedure is used in sql?
What port does sql server use?
Why left join is used in sql?
What are the operators in sql?
How to write html code in pl sql?
What are the difference between Functions/Stored Procs and Triggers and where are they used.
what does the t-sql command ident_current does? : Transact sql
write a query to find out the no. of employees whose age is less than 25 and max of salary for the employees belonging to a particular department is less than 20000
Why do we create stored procedures & functions in pl/sql and how are they different?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)