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 |
What do you mean by “trigger” in sql?
Name three sql operations that perform a sort.
What is the primary key?
Enlist the characteristics of pl/sql?
Why is partition used in sql?
Who is the owner of mysql database?
How global cursor can be declare with dynamic trigger ?
what are Dynamic SQL statements?
what are date and time intervals? : Sql dba
What is a data definition language?
What are the differences between in and exists clause?
Table Student has 3 columns,Student_id,Student_Name & Course_Id. Table Course has 2 columns, Course_Id & Course_Name.Write a query to listdown all the Courses and number of student in each course.
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)