Fix DB Link Error ORA-02085: database link connects to

advertisements

_____________________________________________________________________________________________________________________

The Eucharistic Miracles of the World
Problem Description:

Select from database link failing with following error
SQL> select 1 from dual@PRODDB1;
select 1 from dual@PRODDB1
                   *
ERROR at line 1:
ORA-02085: database link PRODDB1 connects to TEST3E


Solution Description:

Easiest way to resolve this issue is set GLOBAL_NAMES parameter value to false.


SQL> alter system set global_names=false scope=both sid='*';

System altered.

SQL> SELECT 1 FROM DUAL@PRODDB1;

         1
----------
         1

_____________________________________________________________________________________________________________________

Website Stats

0 comments:

Post a Comment

Labels

Oracle (629) Script (86) General (77) Unix (47) Blog (23) Technology (19) gadget (6) games (6) Business (3) OCI (3) SQL* Loader (3) Datapump (2)
 

acehints.com Copyright 2011-23 All Rights Reserved | Site Map | Contact | Disclaimer