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

i have executed the Delete command after the I have created table whether deletions will be commit or not? if table is successfully created?

5 Answers   Oracle,


What is Partitions in Table ?

2 Answers   Atiric Software,


13. Display the second to fifth characters in each client name.

2 Answers   Wipro,


candidate key is subset of super key but not vice-verse explain

0 Answers  


WHT ARE THE AGGREATE FUNCTIONS?

7 Answers   GEITC, TCS,






Is it possible to enter only time value into a column of a table in sql?

2 Answers  


what are actual and formal parameters?

0 Answers  


What is tns name?

0 Answers  


Can group functions be used in the order by clause in oracle?

0 Answers  


Where do you use decode and case statements?

0 Answers  


when we are importing items in inventory, showing errors, Oracle support suggested us for running scripts & also suggested if we run scripts, iprocurement applicaation if is there it will show shared and if we go in future for iprocurement, it wont work. So kinldy suggest any functional solution.

0 Answers  


How to speed up webrick?

0 Answers  


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)