Oracle streams Error on executing the DBMS_RULE_ADM package [message #75710] |
Thu, 03 June 2004 02:23 |
Benki
Messages: 1 Registered: June 2004
|
Junior Member |
|
|
Hi,
I am exploring on oracle streams. I was trying out the example for configuration/setup on the site http://www.oracle-base.com/articles/9i/Streams9i.php.
am getting the errors when i try to execute the procedure under 'stream administrator setup':
SQL>
BEGIN
DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(
privilege => DBMS_RULE_ADM.CREATE_RULE_SET_OBJ,
grantee => 'strmadmin',
grant_option => FALSE);
END;
/
ERROR at line 1:
ORA-00931: missing identifier
ORA-24000: invalid value , USER/ROLE should be of the form [[SCHEMA.]]NAME
ORA-06512: at "SYS.DBMS_RULE_ADM", line 167
ORA-06512: at line 2
am quite new to 'oracle streams', can someone educate me on this? what am i doing wrong?..
Thanks in Advance, Benki
|
|
|
Re: Oracle streams Error on executing the DBMS_RULE_ADM package [message #75713 is a reply to message #75710] |
Mon, 21 June 2004 07:44 |
Sreeni
Messages: 6 Registered: January 2000
|
Junior Member |
|
|
Try this..
BEGIN
DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(
privilege => DBMS_RULE_ADM.CREATE_EVALUATION_CONTEXT_OBJ,
grantee => 'STRMADMIN',
grant_option => TRUE);
DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(
privilege => DBMS_RULE_ADM.CREATE_RULE_SET_OBJ,
grantee => 'STRMADMIN',
grant_option => TRUE);
DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(
privilege => DBMS_RULE_ADM.CREATE_RULE_OBJ,
grantee => 'STRMADMIN',
grant_option => TRUE);
END;
/
- Sreeni
|
|
|
|
|
|