摘要: select PackID,stuff((select '\r\n'+rtrim(IDNum) from IndicatorPackIDNum where PackID=a.PackID for xml path('') ),1,4,'') as IDNumsfrom (select distinct PackID from IndicatorPackIDNum) a 原数据合并后数据 阅读全文
posted @ 2011-11-09 15:32 无法更新的~ 阅读(342) 评论(0) 推荐(0) 编辑