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 suggestions do you have to reduce the network traffic?

0 Answers  


How to start a new transaction in oracle?

0 Answers  


how to find the n'th highest salary from emp ?

10 Answers  


How to drop an index?

0 Answers  


What is oracle join syntax?

0 Answers  


I need to get the values of the previous quarter.how to do this?eg: if my cuurent month is may i need to get the datas of the month jan,feb,march.Can it be done in oracle.I tried with date function q but for the month jan its not retriving the previous quarter(oct-dec).how to solve this.plpz anyone help me?

2 Answers   Philips,


What is STATSPACK tool?

3 Answers   Wipro,


How to create a new table by selecting rows from another table?

0 Answers  


what is shell?

2 Answers   Microsoft,


In which dictionary table or view would you look to determine at which time a snapshot or MVIEW last successfully refreshed?

1 Answers  


Can anyone give me information about oracle certification

1 Answers  


Can select statements be used on views in oracle?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • 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)