摘要: select distinct UserId,STUFF((SELECT ',' + CONVERT(VARCHAR, RoleId) FROM UserRole WHERE UserId=D.UserId FOR XML PATH('')), 1, 1, '')AS BackRoleName FR 阅读全文
posted @ 2016-07-18 16:53 .netCore初学者 阅读(180) 评论(0) 推荐(0) 编辑