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 convert a string list to number list

853934Apr 8 2011 — edited Apr 11 2011
Hi
I have a table1 that codeid is a number(2)

and other table2 that obtain the codeidlist in a varchar2(50) where I save the codeid that I selected from table 1, I can be one o more : 1,2,4,5 etc.

I wanna make this but It gives an error: Invalid Number

Select * from tabla1
where codeid i not in (select codelidlist
from table2
where cliente='Oscar')

how can I solve that?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 9 2011
Added on Apr 8 2011
6 comments
3,740 views