| View previous topic :: View next topic |
| Author |
Message |
vj.jain Site Admin
Joined: 10 Aug 2007 Posts: 86
|
Posted: Wed Sep 23, 2009 9:03 pm Post subject: ORA-02069: global_names parameter must be set to TRUE |
|
|
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 |
|
 |
|
|
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
|