兼容中英文逗号:,,
SELECT a.id, b.Content FROM ( SELECT id, Content = CAST('<v>' + replace(Content, ',', '</v><v>') + '</v>' AS XML) FROM tb_Content ) a OUTER APPLY ( SELECT Content = t.c.value('.', 'varchar(50)') FROM a.Content.nodes('/v') AS t(c) ) b
标签:逗号,表列,Server,Content,Sql,id,SELECT From: https://www.cnblogs.com/bingshao/p/17314450.html