[英]Grant permission to queues to another schema in oracle
嗨,我在一种模式即aqs中有一个oracle队列
样品队列
BEGIN DBMS_AQADM.CREATE_QUEUE(
Queue_name => 'AQS.MOb_MSG',
Queue_table => 'AQS.MOb_QT',
Queue_type => 0,
Max_retries => 5,
Retry_delay => 0,
dependency_tracking => FALSE,
comment => 'SAMPLE');
END;
我已经创建了相应的队列表。
现在,我确实想使用另一个名为“ mob”的模式为队列提供选择授予。如何为队列的另一个模式提供授予?是否需要为队列或队列表提供选择访问权限。
我尝试在AQS.MOb_MSG上使用Grant select来mob,它不起作用! 说对象不存在。
EXECUTE DBMS_AQADM.grant_queue_privilege (
privilege => 'ALL', or (enqueue) or (dequeue)
queue_name => 'AQS.MOb_MSG',
grantee => 'grantee_user',
grant_option => FALSE/TRUE);
如果要授予直接访问队列表的权限。 您必须这样做。 grant select on MOb_QT to xxxx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.