Skip to Main Content

Oracle Database Discussions

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!

EXIT or RETURN in Stored Procedures

390534Jan 14 2005 — edited Jan 14 2005
Anyone,

Should I use EXIT/RETURN/GOTO when in a stored procedure and I am trying to deal with EXCEPTION handling but need to exit out of stored proc handing back a value in an OUT variable to the calling procedure?

I have been working with all three and I still seem to have a memory leak that causes a
"ORA-03113: end-of-file on communication channel"
Error after running the same procedures several times. I think this is related to the way I am exiting the procedure and the fact that I am in nested CURSORS.

Any help would be greatly appreciated.

Thanks,
Miller
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 11 2005
Added on Jan 14 2005
5 comments
2,573 views