请问如何将红框处的查询结果 作为文本赋值给@ColumnNames?
https://help.fanruan.com/finereport/doc-view-3966.html 参考
-------
select @Columnname=substring(.................