Oracle global_names 删除问题

发布于 2024-10-09 14:41:04 字数 524 浏览 4 评论 0原文

我正在使用数据库链接在另一个数据库上执行 DELETE 语句,但数据库链接名称不符合全局命名,并且此要求无法更改。 另外,我将 global_names 设置为 false,并且也无法更改。

但是,当我尝试使用这些链接时,我收到:

ORA-02069: - global_names parameter must be set to TRUE for this operation

Cause: A remote mapping of the statement is required but cannot be achieved because   
GLOBAL_NAMES should be set to TRUE for it to be achieved. -

Action: Issue `ALTER SESSION SET GLOBAL_NAMES = TRUE`   (if possible)

当无法设置 global_names=true 时,替代操作是什么?

干杯,

I'm using a database link to execute a DELETE statement on another DB, but the DB link name doesn't conform to global naming, and this requirement cannot change.
Also I have global_names set to false, and cannot be changed either.

When I try to use these links however, I receive:

ORA-02069: - global_names parameter must be set to TRUE for this operation

Cause: A remote mapping of the statement is required but cannot be achieved because   
GLOBAL_NAMES should be set to TRUE for it to be achieved. -

Action: Issue `ALTER SESSION SET GLOBAL_NAMES = TRUE`   (if possible)

What is the alternative action when setting global_names=true is not possible?

Cheers,
Jean

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

雨夜星沙 2024-10-16 14:41:04

该参数可以在会话级别设置。您能否在会话中将 GLOBAL_NAMES 值设置为 TRUE,执行删除,然后将 if 设置回 FALSE?如果不是,您是否可以为此删除创建一个新连接并将该会话中的 GLOBAL_NAMES 值更新为 true?

That parameter can be set at the session level. Could you not set the GLOBAL_NAMES value equal to TRUE in your session, execute your delete, then set if back to FALSE? If not could you create a new connections just for this delete and update the GLOBAL_NAMES value in that session to be true?

芯好空 2024-10-16 14:41:04

问题在于您的环境中的 GLOBAL_NAMES 参数设置为 TRUE。这要求数据库链接与远程数据库的GLOBAL_NAME具有相同的名称

这是一个更全面地描述情况的链接。

The problem is that the GLOBAL_NAMES parameter is set to TRUE in your environment. That requires that the DB link have the same name as the GLOBAL_NAME of the remote DB.

Here's a link which describes the situation more fully.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文