数据库中突然出现下面这样的错误:
ORA-02069: global_names parameter must be set to TRUE for this operation
关于此的解答来自上面的论坛:
when global_names is TRUE, the database link name MUST be same as the global db name of the database to which the link connects to.
也就是说,如果global_names设置为true,那么目标数据库链路的名称也必须和数据库的全局名一样
我们再
来看看,Oracle文档对这个错误的说明和建议:
[lubinsu@localhost ~]$ oerr ora 02069
02069, 00000, "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
解决方法,
alter session set global_names = true scope=both;