Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to continue the loop even there is an error in plsql

656083Jan 21 2009 — edited Jan 21 2009
Hi Folks,

I am using function in my sql query.i want to write this query in a cursor loop.

the thing is function is not updatable and it errors out for few records. now when i use the same function in cursor and loop it,it will stop the loop when it errors out.

can you guys please help me out if there is any way to continue the loop even there is an error in plsql .

My Function is as below:


Decalre

Cursor

select ***********************;

begin

loop
fetch********************

x:=function(**);

end loop;




Guys please help me on this. your help is high ly appreciated.

Thanks!!

Karthik T
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 18 2009
Added on Jan 21 2009
2 comments
473 views