troubleshooting Question

Convert comma separated to string into multiple row

Avatar of Suriyaraj_Sudalaiappan
Suriyaraj_SudalaiappanFlag for United States of America asked on
Oracle Database
7 Comments1 Solution1064 ViewsLast Modified:
Hi,
This is the new requirement and the old question was  Q_28186312

I have SQL query which will fetch the data like below.
 
{code}
 
ID     NAME     CODE  
1     A-2,B-7     5,2
2     X              10
3     Z               4
 
{code}
 
So now i have to split the data like below
 
{code}
ID     NAME     CODE   NUMERIC
1     A               5            2
1     B               2            7
2     X              10
3     Z               4
{code}
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros