Yes, third-party ODBC drivers from providers like CData and Devart allow you to connect Microsoft Dynamics 365 Business Central to SQL Server Express, though Microsoft does not offer a free, native ODBC driver specifically for Business Central Cloud. [1, 2]
The architecture works differently depending on which Business Central deployment you use:
1. Business Central Cloud (SaaS)
Because Business Central Cloud does not expose its underlying SQL database directly, you connect to it via its OData/API layer using a commercial ODBC driver.
- How it connects to SQL Express: Once you install the third-party ODBC driver on your Windows machine and configure a System DSN, you open SQL Server Management Studio (SSMS) connected to your SQL Express instance and set up a Linked Server using the
MSDASQL(Microsoft OLE DB Provider for ODBC Drivers) provider. - Querying: You can then query Business Central tables directly inside SSMS using
OPENQUERYor four-part naming, just like you would in MySQL Workbench. - Cost note: While SQL Server Express and SSMS are completely free, both CData and Devart drivers are paid products (offering 30-day free trials). [1]
2. Business Central On-Premises
If you are running Business Central On-Premises, you do not need a third-party Business Central ODBC driver.
- Native SQL Connection: Business Central On-Premises already runs directly on a Microsoft SQL Server database (in fact, local demo installations default to using SQL Server Express). [1]
- Direct Access: You can connect directly to the Business Central database using SSMS, or link it to another SQL Express instance using the free, native Microsoft ODBC Driver for SQL Server.
Free Alternative for Business Central Cloud
If you want to avoid paying for a third-party ODBC driver to pull Business Central Cloud data into SQL Express:
- OData Feed + SSIS / PowerShell: You can expose Business Central pages or queries as Web Services (OData v4) inside Business Central, and use a free PowerShell script or Python script (
requests+pyodbc) to pull the JSON/OData feed and insert it into your SQL Express tables on a schedule.
No comments:
Post a Comment