ORA-02069: 此操作的global_names参数必须设置为TRUE

来源:互联网 发布:蛋白质数据库有哪些 编辑:程序博客网 时间:2024/06/08 00:22

今天遇到了ORA-02069: global_names parameter must be set to TRUE for this operation

查了METALINK原因是不能在通过DBLINK操作远程表的DML语句中使用本地函数

原文如下:

Because of a limitation, it is not possible to use a local function when doing a dml operation on a remote table
When this is attempted, the ora-2069 is raised.

解决方法

1、使用 global_names=true个人觉得麻烦还要修改DBLINK名

2、把函数放到远端数据库去,这个比较可行。