mssql speaks SQL Server’s own protocol, so DuckDB reads and writes SQL Server, Azure SQL and Microsoft Fabric directly, and sends the heavy part of each query to the server. mssql_ducklake goes further and keeps a DuckLake catalog in the SQL Server you already run.
Free and open source. Installs from the DuckDB community repository.
Works with DuckDB 1.4.1 and later.
Attach it once and query it with the rest of your data: files, lakes and other databases, in one SQL statement.
A native implementation of SQL Server’s TDS protocol inside the extension. Nothing to install next to DuckDB.
Filters, joins, aggregates and window functions run on SQL Server as one T-SQL statement. Only the result crosses the network. EXPLAIN shows the T-SQL.
COPY, CREATE TABLE AS and large INSERTs load through SQL Server’s bulk protocol. Moving a table into or out of SQL Server is one statement.
SQL logins, Entra ID (service principal, CLI, device code) and Kerberos or Windows integrated authentication. TLS is verified by default.
INSERT, UPDATE and DELETE, with transactions you control. Every statement is atomic.
The same extension works with Azure SQL Database and Microsoft Fabric warehouses.
DuckLake keeps tables as Parquet files in your storage and their metadata in a database. mssql_ducklake puts that metadata in SQL Server or Azure SQL, so your DBA backs it up, secures it and monitors it like any other database.
Pull what you need once, analyse it in DuckDB, and stop running heavy reports against production.
Copy tables to Parquet or a DuckLake with one statement, on a schedule or as a one-off migration.
Combine SQL Server with files, PostgreSQL or a lake in one query, without staging tables.
No. The extension implements the protocol itself. INSTALL and LOAD are all it takes.
Yes, including Entra ID sign-in. See the connection guide in the docs.
Both are marked experimental while their APIs settle. The docs list known limitations, and GitHub issues are answered by the people who wrote the code.
Nothing. Both extensions are open source under the MIT licence.
Open an issue on GitHub. For larger projects, Hugr Lab offers data engineering services from November 2026.
Two lines in DuckDB, and your SQL Server is one more database in your queries.
Planning a migration or a lakehouse on SQL Server? We take on projects from November 2026. Write to us.