ノーコードでクラウド上のデータとの連携を実現。
詳細はこちら →無償トライアル:
無償トライアルへ製品の情報と無償トライアルへ:
使いやすいUnix 用Cosmos DB ODBC Driver。Unicode 対応32ビットおよび64ビットODBC。
古川えりか
コンテンツスペシャリスト
The CData ODBC Driver for CosmosDB can be used from any platform or development technology that supports ODBC, including Sybase PowerBuilder. This article shows how to connect to Cosmos DB data and execute queries from the Database Painter and controls such as the DataWindow.
Follow the steps below to use the Database Painter tool to create a database profile based on an ODBC DSN (data source name) for CosmosDB. In the Database Painter, you can use wizards and the UI to work with Cosmos DB data.
SQL API を使ってCosmos DB アカウントに接続するために必要な接続文字列を取得するには、Azure Portal にログインして「Azure Cosmos DB」を選択し、自分のアカウントを選択します。「Settings」セクションで、「Connection String」をクリックして次の値を設定します。
You can use standard PowerBuilder objects to connect to ODBC data sources and execute queries. The following example shows how to retrieve Cosmos DB data into a DataWindow. You can add the following code to the open method:
SQLCA.DBMS = "ODBC"
SQLCA.DBParm = "ConnectString='DSN=CData Cosmos DB Source'"
CONNECT USING SQLCA;
dw_customers.SetTransObject(SQLCA);
dw_customers.Retrieve();