CREATE OR REPLACE PROCEDURE tt IS v_sql VARCHAR2(10000);BEGIN v_sql:='create table aa as select * from bb where bb.b1 like ''123%'''; --EXECUTE IMMEDIATE v_sql;--这句你可以先屏蔽掉 dbms_output.put_line(v_sql);--把v_sql打印出来看看 END;