I need to find the 1st, 2nd, 3rd and 4th strings after a separator.
For example I need to parse strings that may look like the following:
1
1.2
1.2.3
1.2.3.4
1.10.1.10
Expected results would be:
1,NULL,NULL,NULL
1,2,NULL,NULL
1,2,3,NULL
1,2,3,4
1,10,1,10
This is on Microsoft SQL 2008 R2.
Thanks!