Created
October 27, 2011 07:36
-
-
Save keithbloom/1318983 to your computer and use it in GitHub Desktop.
ExcelInSql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT u.[region 1], s.full_name AS RegionalManager | |
FROM OPENDATASOURCE('Microsoft.Jet.OLEDB.4.0', 'Data Source=c:\managers.xls;Extended Properties=Excel 8.0')...Updates$ | |
JOIN staff s | |
on s.id = u.staff_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment