ICode9

精准搜索请尝试: 精确搜索
  • sql server 中把多行数据显示为一行2022-07-30 20:01:36

    --转化为xml格式,去掉根节点,形成一行--select ','+(field009)+'-'+(field010) from ufv2m7k41656039640871 where field007<0 order by field010 asc for xml path('')select STUFF((select ','+(field009)+'-'+(field010) from ufv2

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有