Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

exception handling cursors

Status
Not open for further replies.

Christi

Programmer
Dec 28, 2001
14
0
0
US
I am writing a cursor in forms.
I test it and it appears to be working but after a while, I receive an oracle exception:
ora-06502 - value error.
how can I resolve, please?
 
Although we need more information, like what is the content of your cursor/procedure, I would hazard a guess that a VARCHAR2 variable is not large enough.

Are there any points in your code where you are doing a loop (cursor or otherwise) and you are concatenating the contents of a string to itself? Or do you have a variable defined which is of insufficient size for some of the data in your cursor loop?
 
Hi lewisp!
Yea, the first thing I did was check the size of the data versus the size of the variable I declare. that is not problem.
I am also nt concatenating any string.
What I think might be the problem is that I am not looping the cursor.
Any time I try t loop, it will hang.
I don't know.
I may have to rewrite the cursor.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top