34,590
社区成员
发帖
与我相关
我的任务
分享
select @Result= @Result+
case
when route_spot is not null then route_spot+','
else ''
end
from
少 ELSE
select case when then else end --语法格式
declare @Result varchar(200)
set @Result=''
select
@Result=@Result+route_spot+',' from tlinerouteinfo
where
route_lineid=10 and route_spot is not null
select @Result