This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Oracle/OAS and the fly likes Invalid number error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Oracle/OAS
Reply Bookmark "Invalid number error" Watch "Invalid number error" New topic
Author

Invalid number error

Gireesh Mulage
Ranch Hand

Joined: Mar 08, 2010
Posts: 44
HI All ,

To my stored procedure , i need to pass some numbers which can be used in the IN clause of select query of a cursor.
For this i had created a type and a function to get the array . Using that array , i have tried to put in a variable of type varchar.
I have used that new variable in the IN clause of the select query of a cursor. I am getting ORA-01722 error.

is there any other way to get to this ?

Please help me on this.
Agador Paloi
Ranch Hand

Joined: Jan 24, 2006
Posts: 116
I think you may have to use NDS to do this. You could use your concatenated list
of numbers in your in clause . Something like this

 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Invalid number error
 
Similar Threads
SQL help
Problem inserting into DB in a JSP
In clause in oracle
PL/SQL: getting table counts for multiple tables
Allowed ORDER BY fields question