Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Using DDL commands in PL/SQL
That might be it, but more than likely, the user does NOT have the privileges
granted explicitly and NOT thru the role. when executing stored procedures
and dbms_sql, you cant have the privilege thru a role(ie:dba), create table,
etc must be granted to the user explicitly.
In article <3545D72C.D5173F7E_at_compuserve.com>,
Rod Corderey <Lane_Associates_at_compuserve.com> wrote:
>
> Mikael,
>
> has the user also got the necessary resource on the tablespace in which
> the table is being created?
>
> regards,
>
> Rod Corderey
> Lane Associates
> Lane_Associates_at_Compuserve.com
> http://www.Lane-Associates.com
>
> Mikael Schonenberg wrote:
> >
> > Through dbms_sql (in PL/SQL) I manage to use DDL commands, which is very
> > nice. Problem is I don't manage all of them. Drop Table works fine, but
> > when I try to Create Table it complaints about insufficient priviliges.
> > Well, I found that somewhat hard to believe, since the user woning
> > and running the PL/SQL package is granted the DBA role.
> >
> > Any idea?
> >
> > /Mikael
>
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Wed Apr 29 1998 - 09:00:55 CDT