Oracle-Developer.com Forums
A forum for discussing and sharing information about Oracle technologies
 

Navigation: Home  | Discussion Forums  |  Scripts  |  About Us  | Links  | Job Openings  | Blog  
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Email your Oracle questions to webmaster@oracle-developer.com to get Oracle 11g or Oracle E-Business expert advice.

ORA-02069: global_names parameter must be set to TRUE

 
Post new topic   Reply to topic    Oracle-Developer.com Forums Forum Index -> Oracle 10g Discussion
View previous topic :: View next topic  
Author Message
vj.jain
Site Admin


Joined: 10 Aug 2007
Posts: 86

PostPosted: Wed Sep 23, 2009 9:03 pm    Post subject: ORA-02069: global_names parameter must be set to TRUE Reply with quote

If you get this error while trying to access a table over the database link.

This error happens when the database parameter global_names is set to TRUE.

When this is the case, the database link need to have the same name as the global name of the remote database (the one you are trying to connect to).

You can find out if global_names is on by using:

SQL> show parameter global_names

Find out the global name of the remote database. Log into the remote database and use:

SQL> select * from global_name;
GLOBAL_NAME
-------------------------------------------------------------------
> DB1.ORACLE-DEVELOPER.COM


Create the database link in the Oracle database appropriately
SQL> create database link DB1 connect to scott identified by tiger using 'DB1';



Oracle also publishes something similar to following for this error (quick work around if it is possible for you to use):

- ORA-02069: -
- 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. -
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Oracle-Developer.com Forums Forum Index -> Oracle 10g Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Sponsored by Oracle Consulting

Copyright ©2007 Oracle-Developer.com