Database Administration (MOSC)

MOSC Banner

Can I query one database from another

edited May 28, 2013 8:16AM in Database Administration (MOSC) 3 commentsAnswered ✓
I have several databases on the same server (11g) and I want to retrieve data from DB2 while I am logged in to DB1.

For example something like this:

.>> oraenv

>>DB1

>sqlplus / as sysdba

>SELECT * FROM TABLE1, DB2.SCHEMA1.Table1:

Can I do that in Oracle?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center