把表中某列转化为以逗号隔开的字符串
declare @column_name varchar(2000)select @column_name = ''select @column_name = @column_name + convert(varchar,cno ) +',' from tbcustom
select @column_name