Excel Spreadsheets (2003 format)

The Excel spreadsheet examples assume that an Excel spreadsheet (2003 format – .xls) has been created at C:\Temp\test.xls. Sheet1 has two columns: name and object_id. Sheet 2 has the same two columns, and the sheet has been renamed to have a space: “Sheet 2”. (In Excel objects, $ represents worksheets, no $ represents named ranges)

32-bit, using the Microsoft.Jet.OLEDB.4.0 driver with OPENDATASOURCE:

32-bit, using the Microsoft.Jet.OLEDB.4.0 driver with OPENROWSET:

32-bit, using the MSDASQL driver:

32/64-bit using the Microsoft.ACE.OLEDB.12.0 driver:

Retrieving Excel Spreadsheet names using the Microsoft.ACE.OLEDB.12.0 driver: