I Have requirement in Oracle 10g:
I need to select using an in
clause.
The problem is the string which I want to use in the database is comma separated values product codes like 4435D,4436E,5656F, 5670L
in a single column.
What I want is something like '4435D','4436E','5656F', '5670L'
which I can use as
Select * from sub_products
where product_code in ('4435D','4436E','5656F', '5670L');
How do we achieve this? Any help would be appreciated.