//A代表表,aa,bb,cc代表3个列,para1,para2代表你想要使用的参数
(1) sqlStr VARCHAR2(4000);
(2) sqlStr :='select aa,bb,cc from A where aa=:1 and bb=:2';
(3) EXECUTE IMMEDIATE sqlStr USING para1,para2;
//A代表表,aa,bb,cc代表3个列,para1,para2代表你想要使用的参数
(1) sqlStr VARCHAR2(4000);
(2) sqlStr :='select aa,bb,cc from A where aa=:1 and bb=:2';
(3) EXECUTE IMMEDIATE sqlStr USING para1,para2;