Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Privilege of dbms_sql?

Re: Privilege of dbms_sql?

From: Michel Cadot <micadot_at_netcourrier.com>
Date: Thu, 2 Dec 1999 09:51:34 +0100
Message-ID: <825brv$7d2v$1@oceanite.cybercable.fr>


You can create a view with dbms_sql only if you have the "create view" privilege directly not via a role.

--
Have a nice day
Michel

Ming Luo <ming_at_sol1.lrsm.upenn.edu> a écrit dans le message : 824k7f$663$1_at_netnews.upenn.edu...
> In SQL environment, I can excute the following line
>
> CREATE OR REPLACE VIEW viewName AS SELECT * FROM tableName <conditions>
>
> But, if I put the line in "dbms_sql.parse" and run the procedure, I get
>
> ORA-01031: insufficient privileges
> ORA-06512: at "SYS.DBMS_SYS_SQL", line 491
> ORA-06512: at "SYS.DBMS_SQL", line 32
> ORA-06512: at "OLDFAST.DEMO", line 50
> ORA-06512: at line 2
>
> Why? How to fix it?
>
> Thanks.
>
>
Received on Thu Dec 02 1999 - 02:51:34 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US