In a table, I have a column like this:
Column
B1,B2,B3,...Bn
I want to split them like this:
Column1(B1), Column2 (B2), Column3 (B3)......Column N (Bn)
How to use SQL to split them? I know some articles discussed about this, for example:
T-SQL split string based on delimiter
However, in my situation, the number of strings which needs to split is not fixed, may be 3, maybe 30, or even bigger. How can we handle this?
Thanks,
Michael