SQL - How to parse out data with multiply values in single column with separated pipe delimiter

58 Views Asked by At

I need a way to parse out data that contains multiply values in the same column. The values are separated by pipe delimiters.

Any help on how to achieve this in SQL would be great.

Current Table:

'''

Expected outcome needed:

''' enter image description here

1

There are 1 best solutions below

0
CHill60 On

Depending on version you can use STRING_SPLIT If using a very old version of SQL you can write a UDF to do it - examples here