修改存储过程,在存储过程名称后面添加 Authid Current_User 后执行通过。
CREATE OR REPLACE PROCEDURE p_test Authid Current_User IS BEGIN EXECUTE Immediate 'create table test01 as (select * from dual)'; END p_test;