USE pubs ;
SELECT Customers.* , Orders.* FROM Northwind.dbo.Customers AS Customers , OPENROWSET( -- OLE DB Provider Name: 'Microsoft.Jet.OLEDB.4.0'
-- OLE DB Provider Source, ID and Password or Connection String:
, 'C:\\Program Files\\Access97\\Office\\Samples\\northwind.mdb';'admin';''
-- OLE DB Provider Object (e.g. table name) or Pass-Through Query:
, Orders
) AS Orders
WHERE Customers.CustomerID = Orders.CustomerID GO