存储过程中执行字符串型的SQL execute immediate 'select * from xxx'; 在存储过程输出调试信息 dbms_output.put_line('Hello world.');