天天看點

ORA-02069:解決方法

今天遇到了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、把函數放到遠端資料庫去,這個比較可行。