I am trying to find out what options I have if I wanted to query Oracle and SQL Server data at the same time.
Here is the scenario:
Oracle database contains dataset A SQL Server database contains dataset B, C, D
I need to take dataset A and join it against B, C and D separately in order to generate certain results and counts.
Current solution:
- Query Oracle, export the data into SQL Server insert statements.
- In SQL Server Management Studio run the SQL Server insert statements that I generated from Oracle to insert data into a temp table
- Join the temp table with datasets B, C and D as needed
I'm looking for solutions that will cause the least amount of calls and workload to the databases.
Edit: I forgot to mention that linked servers or anything that changes server configuration are not allowed.