SELECT A.ID 审核ID, B.value 审核人ID FROM( SELECT ID, 审核人ID = CONVERT(xml,'<root><v>' + REPLACE(审核人ID, ',', '</v><v>') + '</v></root>') FROM 合同审核表身 )A OUTER APPLY( SELECT value = N.v.value('.', 'varchar(100)') FROM A.审核人ID.nodes('/root/v') N(v) )B select * from 合同审核表身