![]() |
VOOZH | about |
The ODBC protocol is used by a wide variety of Business Intelligence (BI) and reporting tools to get access to different databases. The CData ODBC Driver for AlloyDB brings the same power and ease of use to AlloyDB data. This article uses the driver to import AlloyDB data into Power Pivot.
If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
The following connection properties are usually required in order to connect to AlloyDB.
You can also optionally set the following:
Standard authentication (using the user/password combination supplied earlier) is the default form of authentication.
No further action is required to leverage Standard Authentication to connect.
There are additional methods of authentication available which must be enabled in the pg_hba.conf file on the AlloyDB server.
Find instructions about authentication setup on the AlloyDB Server here.
This authentication method must be enabled by setting the auth-method in the pg_hba.conf file to md5.
This authentication method must be enabled by setting the auth-method in the pg_hba.conf file to scram-sha-256.
The authentication with Kerberos is initiated by AlloyDB Server when the โ is trying to connect to it. You should set up Kerberos on the AlloyDB Server to activate this authentication method. Once you have Kerberos authentication set up on the AlloyDB Server, see the Kerberos section of the help documentation for details on how to authenticate with Kerberos.
Follow the steps below to connect to the DSN in Power Pivot.
Follow the steps below to use the wizard to import AlloyDB tables. As you use the wizard to select, filter, and sort columns of AlloyDB tables, Power Pivot generates the query to be executed.
After selecting the DSN in the Table Import Wizard, select the option to select from a list of tables.
Click Preview & Filter to select specific columns, sort data, and visually build filters. To include or exclude columns, select and clear the option next to the column name.
To filter based on column values, click the down arrow button next to the column name. In the resulting dialog, select or clear the column values you want to filter. Alternatively, click Number Filters or Text Filters and then select a comparison operator. In the resulting dialog, build the filter criteria.
You can also import with an SQL query. The driver supports the standard SQL, allowing Excel to communicate with AlloyDB APIs.
In the SQL Statement box, enter the query. Click Validate to check that the syntax of the query is valid. Click Design to preview the results and adjust the query before import.
๐ The query to be used to import the data.Connectivity to AlloyDB APIs enables real-time analysis. To immediately update your workbook with any changes, click Refresh.
Download a free trial of the AlloyDB ODBC Driver to get started:
Download NowLearn more:
๐ AlloyDB IconThe AlloyDB ODBC Driver is a powerful tool that allows you to connect with live data from AlloyDB, directly from any applications that support ODBC connectivity.
Access AlloyDB data like you would a database - read, write, and update AlloyDB 0, etc. through a standard ODBC Driver interface.