如何在存储过程中将列名作为变量如何在存储过程中将列名作为变量 如何在存储过程中将列名作为变量?即如何使用 select 代表某列变量名 from ... [解决办法]select @a:=col from table