解决 for xml path encode 的问题

selectstuff( (select ', ' from sys.databases where database_id > 4 order by name for xml path(''), type ).value('(./text())[1]','varchar(max)') ...
posted @ 2015-05-09 15:36  Tom.汤  阅读(240)  评论(0编辑  收藏  举报