Skip to main content

Microsoft Access Database Engine 2010 ((top)) Now

If you have ever used PowerShell to query a .xlsx file, run an SSIS package against a CSV, or used Excel Power Query to connect to a DB2 database, you have likely relied on this engine.

$connectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Data\SalesReport.xlsx;Extended Properties='Excel 12.0 Xml;HDR=YES';" $query = "SELECT [Region], SUM([Sales]) as TotalSales FROM [Sheet1$] WHERE [Sales] > 1000 GROUP BY [Region]" microsoft access database engine 2010

If you maintain a legacy data warehouse, you probably have a scheduled task running right now that uses this driver. Treat it with respect. Document your connection strings. And for the love of data integrity, always add IMEX=1 when reading mixed data types. If you have ever used PowerShell to query a

Install the driver (64-bit example):