I have numbers separated by - and comes out as string. I need that numbers in select statements as list of numbers.
Can someone please help me to get that done?
Example String : "7001-5001-8001"
I have to use this as
select * from table1 where id in ( 7001,5001,8001);
Any help on this will be greatly appreciated.