select K.KeyWord as Result
from ... as k
where ...
for xml path(''), root('Root'), binary base64
Tanner
:
根据链接的帖子。
SELECT K.KeyWord AS Result FROM SearchKeyword K FOR XML PATH(''), ROOT('Root')