0

I'm trying to code a query that needs to access two separate database connections and cant figure out how. I have my .sql file connected to connection: A, but i need to join information from connection: b to get all the information I need. I cant create a database link, which is the answer i'm seeing everywhere. The query will look something like this:

SELECT 
    a.ROW_ID,
    a.ATTRIB_1,
    b.Date2
From A.user.info a, B.super.info b
Where a.stat1 = b.stat1;

1 Answer 1

1

There's nothing else you can do than creating that link, to go simply.

The question is why can't you?

In a company I worked for they also had a (to me: weird) politic about that, and didn't want dblinks (anymore).

They opted for MQ queues from IBM as a substitute.

Hope it helped.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.