if i have a procedure with 1000 line.when i run this in 61 line i got the error but i want to continue the programe without error.can anyone tell me how to handle that error.



if i have a procedure with 1000 line.when i run this in 61 line i got the error but i want to contin..

Answer / ana

Enclose the 61th line in a begin-exception-end block and in exception block have
when others then null;

so that when exception is raised in 61th line it will do nothing and continue with other lines of the 1000 line procedure.

eg:

Begin

Select * from emp ;

Exception

when others then
null;

End;

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Oracle General Interview Questions

What is the difference between primary key and unique key and foreign key in oracle?

0 Answers  


Explain enable novalidate constraint.

0 Answers  


How to find 1st, 2nd, 3rd highest using select select statement not using rownum

2 Answers  


what is null value?

9 Answers  


what is kernel?

2 Answers   Microsoft,






what is insert all statement in sql

2 Answers   CGI, TCS,


How to get execution statistics reports on query statements?

0 Answers  


What is ADDM Advisor in Oracle?

0 Answers   MCN Solutions,


Is oracle a relational database?

0 Answers  


Can multiple cursors being opened at the same time?

0 Answers  


what is foreign key?

5 Answers  


26. Display the earliest shipping date in the format: DD/MON/YYYY

5 Answers   Wipro,


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)