Included in ODBC PowerPack

ODBC Excel Driver

Read and write Excel workbooks without ACE/JET dependencies.

Read and write Excel workbooks (.xls and .xlsx) with SQL and get a flat table, without ACE / JET drivers. Select worksheets or ranges, map workbooks as virtual tables, and use the data in SQL Server or your BI and reporting tools.

Included in the Enterprise edition and above

ZappySys ODBC Driver - Create Excel Driver
Driver UI, SQL query and live preview

Trusted by data teams worldwide

MicrosoftIBMOracleDell TechnologiesHPCiscoAT&TVerizonDHLFedExUPSWalmart

Also rated on Capterra★★★★★ , Trustpilot★★★★★ and BBBA+ — see why teams trust ZappySys

At a glance

What the Excel Driver can do

Read and write Excel workbooks without ACE/JET dependencies.

Worksheets as tables

Read and write Excel workbooks (.xlsx and legacy .xls) with SQL and get a flat table.

  • Select worksheets or ranges
  • Flexible metadata detection
  • Password-protected workbooks

See the SQL example

Virtual tables

Map several workbooks to named tables so one DSN covers many files.

  • One virtual table per workbook
  • Stored procedure placeholders
  • Direct query option

See the SQL example

Familiar SQL

Use WHERE, ORDER BY, GROUP BY and built-in math, string, date and JSON functions on top of the data source.

  • Standard SELECT syntax
  • Custom functions in the SQL dialect
  • Driver options in a WITH clause

Query examples

Works with the tools you have

Any ODBC-compliant tool can use the DSN: Power BI, Tableau, Qlik, SSRS, Informatica, Excel and SSIS.

  • Create a DSN once, reuse it everywhere
  • 32-bit and 64-bit ODBC
  • Stored in the standard ODBC Data Source Administrator

Setup guide

Use it from code

Connect from Java, C#, Python, PowerShell and more with an ODBC connection string that names the DSN.

  • Standard ODBC connection strings
  • Parameterized queries
  • Same SQL as in the UI

Python example

SQL Server via Data Gateway

Query the driver from SQL Server (linked server / OPENQUERY) without installing it on the SQL Server machine, through the Data Gateway.

  • No driver install on the server
  • Works with SQL Server 2012 through 2025 (32/64 bit)
  • Same DSN, same SQL

About Data Gateway

See all features
  • Read / write Excel Workbooks using familier SQL Query language
  • Supported for reading *.XLSX and *.XLS (legacy)
  • Support for flexible metadata detection mode so you can get accurate datatypes
  • Support for Password protected workbooks
  • Integrate insight any ODBC Compliant Reporting / ETL tools (e.g. Power BI, Tableau, Qlik, SSRS, Informatica, Excel, SSIS)
  • Support for programming languages such as JAVA, C#, Python, PowerShell and more…
  • Tight integration with Microsoft SQL Server (With support for Gateway Option – No need to install Driver on Server)
Runs in your environment ·

SQL Server 2012–2025

through the Data Gateway · Read the FAQ

Ways to use it

Pick how you reach your data.

Configure the DSN once, then query it from any ODBC tool or from SQL Server.

Select from a worksheet.

Use SELECT * FROM [Sheet1] with options such as RangeStartCell.

  • Worksheets and ranges
  • Metadata detection
  • Preview in the UI
ODBC Excel Driver - Select File

Inside the UI

The driver UI, step by step.

Real screens from the ZappySys ODBC driver configuration.

Create the DSN

Add a user or system DSN and pick the Excel Driver.

SQL example

Query worksheets like tables.

Select a worksheet by name (or a virtual table pointing at a workbook) and read it with SQL. DML is supported for writes.

  1. Excel workbook

    Worksheets are exposed as tables; virtual tables can map several workbooks.

    customers.xlsx

    vt__Customers  Path=c:\data\customers.xlsx
    vt__Orders     Path=c:\data\orders.xlsx
    vt__Products   Path=c:\data\products.xlsx
  2. Run the SQL query

    SQL QuerySELECT * FROM [Sheet1] WITH (RangeStartCell = 'A1')

    Use the WITH clause for options such as the start cell.

    .xlsx and legacy .xls files are supported, including password-protected workbooks.

  3. Rows returned to your tool

    Result shape
    Result
    Rows of Sheet1 starting at A1

    Metadata detection modes give accurate data types.

Statements taken from the driver help.

SQL query examples

Copy a query, change the source, run it.

20 of the 20 examples from the Excel Driver help. Open one to see the SQL.

Read files, API responses and objects as rows.

SELECT

This example shows how to read data starting from a specific cell.

SELECT * FROM [Sheet1] -- WITH(RangeStartCell='A1')

Open this example in the help

SELECT with StartRange

This example shows how to read data from specific cell range (when RangeEndCell is not supplied it auto detects last cell).

SELECT * FROM [Sheet1] WITH(RangeStartCell='A1')

Open this example in the help

SELECT with StartRange and EndRange

This example shows how to read data from specific cell range.

SELECT * FROM [Sheet1] WITH(RangeStartCell='A1', RangeEndCell='F100')

Open this example in the help

SELECT from data table without columns

This example shows how to read data where no columns defined.

SELECT * FROM [Sheet1] WITH(RangeStartCell='A1', Headerless=1)

Open this example in the help

SELECT with skip rows from top

This example shows how to read data after skipping first 5 rows (right after columns row).

SELECT * FROM [Sheet1] WITH(RangeStartCell='A1', SkipRows=5)

Open this example in the help

Custom Metadata / Override Mode
SELECT id,name,checknumber FROM MyTable
WITH
(
--//Custom Metadata (Direct Mode)<<<
--//Add all possible columns here and it will be part of metadata (this approach ignores any metadata comes from table itself). This approach usually helpful when Table has dynamic data (scan 300 rows to detect types) which may cause issue if zero records found.
META = 'id:int;checknumber:string(10);name:string(10);some_extra_column:datetime'

--//Custom Metadata with Override  (Direct Mode)<<<
--You can use @OverrideMode:1 in the column list to override meta for specific column(s) only and use all other columns from reported metadata for table - In below example we are changing default datatype/length for id and checknumber, all other columns are dynamic so dont have to supply in META clause
--META = '@OverrideMode:1;id:int;checknumber:string(10)'

--//Metadata from File (supply metadata stored in file)
--META = 'c:\mytable_meta.txt'
)

Open this example in the help

Basic SQL queries

Basic query examples.

--Whenever Possible try to write Simple Query. When you use WHERE / GROUP BY / ORDER BY Expressions. Driver may invoke Client side processing if server side doesnt support that construct.
--For comment use line comment with two dash (e.g. --my comment) or use block comment for multi line comment (e.g. /*my comment*/ )
--Any query must contain at least two required parts
--data source (or table) names and a list of column names
--column names come first (preceded by SELECT keyword)
--table names follow (preceded by FROM keyword)

--Here is the query that returns all rows with all columns (* stands for all columns) from 'Accounts' table
SELECT * FROM Accounts

--Use quoted identifiers when you have space or other character in names (e.g. Column or Table name contains space)
SELECT ID, "Account Name" FROM "Closed Accounts"
SELECT ID, [Account Name] FROM [Closed Accounts]

--returns all rows from 'Accounts' table, each row will have Id and Amount columns
SELECT Id, Amount FROM Accounts

--returns only those rows of 'Accounts' table that meet next condition: Amount is greater or equal to 1000.0
SELECT Id, Amount FROM Accounts WHERE Amount >= 1000.0

--returns only those rows of 'Accounts' table that meet next condition: Amount is greater than 1000 or DepartamentID is equal to 123
SELECT Id, Amount FROM Accounts WHERE (Amount > 1000.0 OR DepartamentID = 123)

--returns only those rows of 'Accounts' table that meet next condition: DepartamentID is equal to 1, 101 or 202
SELECT Id, Amount FROM Accounts WHERE DepartamentID IN (1, 101, 202)

--returns only those rows of 'Accounts' table that meet next condition: DepartamentID is equal to 321 and Amount is less than 100
SELECT Id, Amount FROM Accounts WHERE DepartamentID = 321 AND Amount < 100

--returns only those rows of 'Persons' table that meet next condition: Name column value starts with 'John'
SELECT * FROM Person WHERE Name LIKE 'John%'

--case statement
SELECT
 FirstName,
 LastName,
 CASE Country
  WHEN 'US' THEN 'NA'
  WHEN 'Canada' THEN 'NA'
  WHEN 'India' THEN 'Asia'
  WHEN 'China' THEN 'Asia'
  ELSE 'Unknown'
 END ColRegion
 FROM Person

Open this example in the help

See all 20 SQL examples in the help

Compatibility and requirements

Built for Windows, and for your own environment.

  • Windows 11, 10, 8 and 7, and Windows Server 2022, 2019, 2016, 2012 R2 and 2008
  • .NET Framework 4.x. The JDBC Bridge Driver also needs Java 8 or later
  • 32-bit and 64-bit ODBC drivers. SQL Server 2012 through 2025 through the Data Gateway
  • Self-hosted: drivers run in your Windows process, business data does not pass through ZappySys servers, and credentials stay in your DSN
  • Free trial of ODBC PowerPack: test with your own data before you buy

FAQ

Questions about the Excel Driver

Which tools and languages can use this driver?

Any ODBC-compliant tool, such as Power BI, Tableau, Qlik, SSRS, Informatica, Excel and SSIS. You can also connect from Java, C#, Python, PowerShell and other languages with an ODBC connection string.

Do I need to install the driver on SQL Server?

No. With the Data Gateway option the driver runs on the gateway machine and SQL Server connects to it through a linked server.

Which edition includes the Excel Driver?

The Excel Driver is included in the Enterprise edition of ODBC PowerPack. See the edition comparison for the full list.

Does it read both .xlsx and .xls?

Yes, and it supports password-protected workbooks.

Can I save a query to reuse it?

Yes. Save a query as a virtual table or a stored procedure (custom objects) in the DSN. Tools then see it like a normal table, and a procedure can take parameters. See custom objects in ODBC drivers.

Is there an SSIS version?

Yes. This driver uses the same data engine as the Excel File Source in SSIS PowerPack.

Which SQL Server and Windows versions are supported?

Support for SQL Server 2025, 2022, 2019, 2017, 2016, 2014 and 2012 (32/64 bit) through the Data Gateway. See the system requirements.

Can I try it before buying?

Yes. Download ODBC PowerPack, create a DSN and test your own data before you buy.

Independent ratings

Trusted by data teams, recognized by the industry

See why teams trust ZappySys (opens in new tab)

What customers say

  • Customer story

    ZappySys has been a fantastic way to bring our small company into the world of APIs, automation, and systems integration by providing tools within an easy-to-use framework.

    Ben KingeryOxspring Paul
  • Customer story

    At Synchronous Customers, we need to connect various types of data quickly. The super handy ZappySys connectors and great documentation let us do it without writing a lot of code.

    Joel ConnerSynchronous Customers
  • Customer story

    We have worked with the ZappySys support team for over a year and have consistently found them extremely helpful — resourceful and creative in offering multiple solutions to our challenges.

    Senthil SekarPublicis Groupe
  • Trustpilot

    I’ve been using ZappySys for over 6 years — it makes development faster, and I introduced it to my current company.

    Anna JohnsonTrustpilot review
  • Customer quote

    I submitted a support request and had someone logged in and fixing things within 2 hours.

    Barry Wilson
  • Customer quote

    The REST source is very powerful — the only thing I found I could use after trying components from major vendors.

    Jes KirkupKTC
  • Customer quote

    Whenever we run into an obstacle, ZappySys has a solution for us. We are so glad that we chose ZappySys PowerPack.

    Kevin ChenBerricle

Start your free trial today

Install ODBC PowerPack and add a Excel Driver DSN.

Preview your data in the driver UI before you connect your tool.

  • One DSN, many toolsPower BI, Excel, SSIS, Python and SQL Server can all use it.
  • Free trialTest the driver with your own data before you buy.
  • Live supportHelp during your trial and after purchase.

New purchases may be eligible for refund review within 30 days. See the refund policy.

Talk to an engineer before or during your trial.

1 / 11