Running a query on both SQL Server and Oracle databases

Tags:
Oracle
Oracle queries
SQL Server database
SQL Server Query
How do I run a query that queries a SQL Server database and an Oracle server database, on two different servers, and uses all the data?

Answer Wiki

Thanks. We'll let you know when a new response is added.

If you are going to run the query from the Oracle database, you would need to use Heterogeneous Services and create a database link to the Sql server database.

Then you can access Sql Server’s tables by suffixing them with ‘@<database_link_name>’

If you are going to do it from Sql Server, you will need a linked server.

Have a look at these links:

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Michael Tidmarsh
    Need more help using SQL/Oracle queries? Here's some online practices to improve your abilities.
    30,440 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following