DECLARE @center_JZHW VARCHAR(500)
SET @center_JZHW = ( SELECT DISTINCT STUFF(
    ( SELECT ','''+ qudao+'''' FROM CreatedType WITH ( NOLOCK )
      WHERE   qtype = 'pc' ORDER BY qudao
      FOR XML PATH('')), 1,4, '') AS jzhw
    FROM   CreatedType t) 

set @center_JZHW= left(@center_JZHW,len(@center_JZHW)-1)
  select @center_JZHW
  
  

 

相关文章:

  • 2021-09-05
  • 2022-12-23
  • 2021-09-08
  • 2021-06-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
相关资源
相似解决方案