Retrieving data from two separate databases It's hard to imagine, but there may be a time where you have a need to retrieve information from both a SQL Server database and a non-SQL Server database. When faced with that situation it's good to know your options.Here are two ways you can achieve your goal:
Here's an example of a distributed query that queries the Employees table in SQL Server and the Orders table from Oracle: SELECT�emp.EmloyeeID,�dept.DeptID,dept.deptno FROM�SQLServer1.Aruba.dbo.Employees�AS�emp, OracleSvr.Catalog1.SchemaX.Department�AS�dept WHERE�dept.EmployeeID�=�emp.EmployeeID AND�dept.deptno�>�10 |