修改存储过程,在存储过程名称后面添加 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;
Oracle在存储过程中建表、建索引权限不足
原文:https://www.cnblogs.com/xiangxiushu/p/13216641.html