![]() |
VOOZH | about |
HeidiSQL is an open-source database administration tool that natively supports MariaDB, MySQL, SQL Server, and PostgreSQL. When paired with CData Connect AI, HediSQL reach extends to include access to live Excel Online data. This article demonstrates how to connect to Excel Online using Connect AI and query Excel Online data in HeidiSQL.
CData Connect AI provides a pure SQL Server interface for Excel Online, allowing you to query data from Excel Online without replicating the data to a natively supported database. Using optimized data processing out of the box, CData Connect AI pushes all supported SQL operations (filters, JOINs, etc.) directly to Excel Online, leveraging server-side processing to return the requested Excel Online data quickly.
Connectivity to Excel Online from HeidiSQL is made possible through CData Connect AI. To work with Excel Online data from HeidiSQL, we start by creating and configuring a Excel Online connection.
You can connect to a workbook by providing authentication to Excel Online and then setting the following properties:
: Set this to the name or Id of the workbook.
If you want to view a list of information about the available workbooks, execute a query to the Workbooks view after you authenticate.
You use the OAuth authentication standard to authenticate to Excel Online. See the Getting Started section in the help documentation for a guide. Getting Started also guides you through executing SQL to worksheets and ranges.
π Configuring a connection (Salesforce is shown)When connecting to Connect AI through the REST API, the OData API, or the Virtual SQL Server, a Personal Access Token (PAT) is used to authenticate the connection to Connect AI. It is best practice to create a separate PAT for each service to maintain granularity of access.
With the connection configured and a PAT generated, you are ready to connect to Excel Online data from HeidiSQL.
To establish a connection from HeidiSQL to the CData Connect AI Virtual SQL Server API, follow these steps.
To get live data access to hundreds of SaaS, Big Data, and NoSQL sources directly from your SQL Server database, try CData Connect AI today!
Learn more about CData Connect AI or sign up for free trial access:
Free Trial