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?



You create a private database link and upon connection, fails with: ORA-2085: connects to . What is..

Answer / 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

More Oracle General Interview Questions

Draw E-R diagram for many to many relationship ?

0 Answers   Keane India Ltd,


How do I find my oracle client driver version?

0 Answers  


What is SGA ? How it is different from Ver 6.0 and Ver 7.0 ?

1 Answers   TCS,


What happens if you set the sga too low in oracle?

0 Answers  


How to update rows in table, suppose i have lacks of rows in table how to update total table with update statement. Can u please any one answer this question with update statement.

2 Answers  






What is a Sequence ?

3 Answers  


definition of cluster and non-clustered index?

0 Answers   CSS,


Is rowid unique in oracle?

0 Answers  


What does ROLLBACK do ?

1 Answers  


how to get last monday of a month?

2 Answers   Multifonds,


IS it possible to built the oracle database without setting the kernal parameters?

0 Answers   EDS,


What is the sql query to concatenate column values from multiple rows in oracle?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)