My Oracle Support Banner

Database Links: Troubleshooting ORA-2085: database link %s connects to %s (Doc ID 210630.1)

Last updated on JUNE 21, 2023

Applies to:

Oracle Net Services - Version 9.2.0.8 and later
Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.
This document describes creating database links and troubleshooting the ORA-2085 error that might occur during a select across the dblink.




Purpose

Purpose

To explain database link naming rules in an effort to avoid the error ORA-2085 "database link %s connects to %s".  Additionally, the effect of GLOBAL_NAMES=TRUE on the creation and use of database links.  The naming rules that are described in this note are not applicable when GLOBAL_NAMES=FALSE.

Troubleshooting Steps

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.