`
Sharpleo
  • 浏览: 562671 次
  • 性别: Icon_minigender_1
  • 来自: newsk
社区版块
存档分类
最新评论

sqlserver 把结果集拼成一行字符串

 
阅读更多
declare @fulltext nvarchar(4000)
set @fulltext=''
select @fulltext=@fulltext+treestruttext+'/' from xzstruct 
where layerType=5 and isdel is null and structName like '佛山%'
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics