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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: quick pl/sql question

RE: quick pl/sql question

From: David Sharples <dsharples_at_cerebrussolutions.com>
Date: Thu, 22 Apr 2004 14:42:23 +0100
Message-ID: <EA29A3FCC723674293FD6286D3F0513E629F00@louis.cerebrus.com>


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_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Freeman, Donald Sent: 22 April 2004 14:34
To: oracle-l_at_freelists.org
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_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://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_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Thu Apr 22 2004 - 08:35:58 CDT

Original text of this message

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