摘要: SELECT distinct TEMP.vch_number,TEMP.vch_code,vch_name=stuff((select ';'+vch_name from TABLEB where (vch_number=TEMP.vch_number and vch_name'' ) for xml path('')),1,1,'') FROM #TBL_READ_NUMBER TEMP ... 阅读全文
posted @ 2017-09-19 15:57 Aaron_M 阅读(3173) 评论(0) 推荐(0)