|
原帖由 magic007 于 2010-5-30 22:47 发表 ![]()
数据插入是用的存储过程还是在会话上直接执行的SQL?
I tested in both 9.2.0.6 and 10.2.0.4 creating a table in a procedure or PL/SQL anonymous block with no quota on the tablespace but with unlimited tablespace privilege. The user *can* create the table fine.
create user u identified by u;
grant create table, create session, unlimited tablespace, create procedure to u;
conn u/u
exec execute immediate 'create table t (x int)'
drop table t;
create procedure p as begin execute immediate 'create table t (x int)'; end;
/
exec p
drop table t;
I suspect his case is something more basic. A user error or something. If he can reproduce the case in SQL*Plus, it's worth more research.
Yong Huang |
|