是在存储过程里面?
动态sqlv_str varchar2(200);
begin
v_str:='select column1 ,'||a||' as columnx from t';
execute immediate v_str into col1,cola;
end;
/