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

Home -> Community -> Usenet -> c.d.o.server -> Re: Stored procs for adding, dropping, granting, revoking

Re: Stored procs for adding, dropping, granting, revoking

From: Jonathan Gennick <gennick_at_worldnet.att.net>
Date: 1998/01/03
Message-ID: <68k3ir$29i@mtinsc03.worldnet.att.net>#1/1

>Does anyone know how to get a stored procedure to
>accept a drop user, grant, and revoke.

You need to use dynamic SQL, which you can do by using the routines in the DBMS_SQL package described in the Application Developer's Guide.

Grants and revokes aren't too bad. All you have to do is call SQL_PARSE on the statement in order to execute it. Received on Sat Jan 03 1998 - 00:00:00 CST

Original text of this message

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