quick pl/sql question 2004-04-22 - By David Sharples
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@(protected)
[mailto:oracle-l-bounce@(protected)] On Behalf Of Freeman, Donald
Sent: 22 April 2004 14:34
To: oracle-l@(protected)
Subject: FW: quick pl/sql question
OK, so it 's not you who is going to execute this. It works when you do
=
it but not when someone else does it?
CREATE OR REPLACE PROCEDURE dave_test (p_user_id IN VARCHAR2)=20
AUTHID CURRENT_USER
AS
BEGIN
=20
=
dbms_resource_manager_privs.grant_switch_consumer_group(p_user_id, 'users
1=
',TRUE);
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@(protected)
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@(protected)
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
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
|
|