RE: quick pl/sql question

  • From: "David Sharples" <dsharples@xxxxxxxxxxxxxxxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 22 Apr 2004 14:42:23 +0100

Absolutely

Uts my package, but someone else is going to execute it.  It could be a
number of people so I cant create the package in their schemas either

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Freeman, Donald
Sent: 22 April 2004 14:34
To: oracle-l@xxxxxxxxxxxxx
Subject: FW: quick pl/sql question


OK, so it's not you who is going to execute this.  It works when you do
=3D
it but not when someone else does it?

CREATE OR REPLACE PROCEDURE dave_test (p_user_id IN  VARCHAR2)=3D20
AUTHID CURRENT_USER
AS
BEGIN
=3D20
        =3D
dbms_resource_manager_privs.grant_switch_consumer_group(p_user_id,'users
1=3D
',TRUE);
=20
dbms_resource_manager.set_initial_consumer_group(p_user_id,'users1');

END;
/
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------


----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: