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

Home -> Community -> Mailing Lists -> Oracle-L -> DBMS_SQL and Insufficient Privs

DBMS_SQL and Insufficient Privs

From: Sean Snyder <sean.snyder_at_BUDGET.MAILNET.STATE.NY.US>
Date: Mon, 8 Jan 1996 09:16:59 -0400
Message-Id: <9601081440.AA11126@alice.jcc.com>


Ian,
Sorry I dropped your note but you were experiencing a problem of not having the privileges to perform certain statements using DBMS_SQL but you could issue the statements in SQL*Plus. Here's probably what's happening. As roles are disabled inside stored procedures, if you try to ALTER USER or CREATE TABLE using the DBMS_SQL package and these privileges were granted to you via a role then you will get an ORA_01031: INSUFFICIENT PRIVILEGES. If you grant the privileges directly to the you (or some other user) then everything should work fine.

HTH
Sean Snyder Received on Mon Jan 08 1996 - 09:40:38 CST

Original text of this message

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