Home Forums SQL Server 2008 SQL Server Newbies Split Row RE: Split Row
pietlinden
SSC Guru
Points: 63436
More actions
July 30, 2015 at 11:06 am
#1816237
Use DelimitedSplit8K[/url]
something like this:
SELECT test.Manager, test.Device, split.ItemNumber, Item = RTRIM(split.Item)
FROM #tbl_data test
CROSS APPLY dbo.DelimitedSplit8k(test.Manager,',') split;