Hi,
I have a table where each row in column X contains product ids separated by commas.
How can I write a query that returns each product id in a row? In the above example, the query would return
Is this possible with sql? Thank you in advance.
Regards,
Min
I have a table where each row in column X contains product ids separated by commas.
Code:
X
Row 1 123,334,445
Row 2 223,123
Row 3 033,445,110,331
How can I write a query that returns each product id in a row? In the above example, the query would return
Code:
Query
Row 1 123
Row 2 334
Row 3 445
Row 4 223
Row 5 123
etc...
Is this possible with sql? Thank you in advance.
Regards,
Min