You create a private database link and upon connection,
fails with: ORA-2085: connects to . What is the problem? How
would you go about resolving this error?

Answer Posted / saraswathi muthuraman

SQL> select * from all_catalog@tg4msql_v91;

select * from all_catalog@tg4msql_v91

*

ERROR at line 1:

ORA-02085: database link TG4MSQL_V91.DE.ORACLE.COM

connects to HO.WORLD

Resolution:

This problem is related to GLOBAL NAMES.

The simplest way to disable global naming is to alter

the current session.

alter session set global_names=false;

The other solution is to add a global_name to the

gateway/hs:

HS_DB_NAME = <datasource>

HS_DB_DOMAIN = <DOMAIN>

But the HS_DB_NAME must not exceed 8 characters and

must not contain any extra characters. If this is not

possible, the globale naming can be disabled by setting

GLOBAL_NAMES = FALSE in the init.ora of the database

as well

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between sap and oracle?

575


What to do if dba lost the system password?

601


What is an oracle table?

558


What is the difference between Delete, Truncate and Drop in Oracle?

606


What is the difference between a primary key & a unique key?

590






what is the use of system.effective.date variable in oracle?

673


Give syntax for SQL and ORACLE joins.

636


How can I convert single byte kana characters into multi byte kana characters and vice-versa.

1934


What is a nvl function?

566


What is blob data type in oracle?

561


What is a select query statement in oracle?

545


What is instant client oracle?

543


What is literal?

589


How to get a list of all user accounts in the database?

618


What view(s) do you use to associate a users SQLPLUS session with his o/s process?

1910