文档解释 ORA-10862: resolve default queue owner to current user in enqueue/dequeue Cause: resolve default queue owner to cur
ORA-10862: resolve default queue owner to current user in enqueue/dequeue
Cause: resolve default queue owner to current user in enqueue/dequeue.
Action: turn on if client wish to resolve the default queue owner to the current user. If not turned on, the default queue owner will be resolved to the login user.
ORA-10862:表示在执行enqueue/dequeue操作时,未解析出默认的队列拥有者。
在使用 oracle Advanced Queueing (AQ) 时,ORA-10862 表示未解析出 what the default queue owner should be. 常见的原因是在尝试构建队列之前没有设置对象的拥有者 (owner)。
当尝试建立一个AQ队列时,如果未指定队列拥有者时可能出现错误ORA-10862:
sql> BEGIN
DBMS_AQADM.CREATE_QUEUE ( queue_name => ‘MY_NEW_QUEUE’ );
END;
/
BEGIN
*
ERROR at line 1:
ORA-10862: resolve default queue owner to current user in enqueue/dequeue
要解决此错误,应该显式地指定一个队列拥有者:
SQL> BEGIN
DBMS_AQADM.CREATE_QUEUE ( queue_name => ‘MY_NEW_QUEUE’, queue_table => ‘MY_Qtable’, owner => ‘MyUser’ );
END;
/
PL/SQL 过程已正常完成。
--结束END--
本文标题: ORA-10862: resolve default queue owner to current user in enqueue/dequeue ORACLE 报错 故障修复 远程处理
本文链接: https://lsjlt.com/news/540051.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0