I've a simple table i.e.
- ID int,
- value varchar(100)
value column consists of delimited strings e.g.
- ID - Value
- 1 - a,b,c,d
- 2 - b,e
- 3 - c
- 4 - r
I need to retrieve all the values from this after splitting each value based on the delimiter i.e. '.'
I've a user defined function to split the string. What could be the correct/efficient way to do it? i am looking to avoid iterating over each row, and then splitting the string.