![]() |
VOOZH | about |
The CData ODBC Driver for Azure Data Lake Storage can be used from any platform or development technology that supports ODBC, including PowerBuilder. This article shows how to connect to Azure Data Lake Storage data and execute queries from the Database Painter and controls such as the DataWindow.
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.
Gen 1 uses OAuth 2.0 in Entra ID (formerly Azure AD) for authentication.
For this, an Active Directory web application is required. You can create one as follows:
To authenticate against a Gen 1 DataLakeStore account, the following properties are required:
To authenticate against a Gen 2 DataLakeStore account, the following properties are required:
Follow the steps below to use the Database Painter tool to create a database profile based on an ODBC DSN (data source name) for Azure Data Lake Storage. In the Database Painter, you can use wizards and the UI to work with Azure Data Lake Storage data.
You can use standard PowerBuilder objects to connect to ODBC data sources and execute queries. The following example shows how to retrieve Azure Data Lake Storage data into a DataWindow. You can add the following code to the open method:
SQLCA.DBMS = "ODBC" SQLCA.DBParm = "ConnectString='DSN=CData ADLS Source'" CONNECT USING SQLCA; dw_resources.SetTransObject(SQLCA); dw_resources.Retrieve();
Download a free trial of the Azure Data Lake Storage ODBC Driver to get started:
Download NowLearn more:
👁 Azure Data Lake Storage IconThe Azure Data Lake Storage ODBC Driver is a powerful tool that allows you to connect with live data from Azure Data Lake Storage, directly from any applications that support ODBC connectivity.
Access Azure Data Lake Storage data like you would a database - read, write, and update Azure Data Lake Storage ADLSData, etc. through a standard ODBC Driver interface.