first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

T-SQL: Using OPENROWSET to Join Server Data with File-based Data

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

mod date: 2001-05-27T01:13:57.000Z