前提条件
接続する前にまず以下を実行します。- データソースをConnect AI アカウントに接続します。詳しくは、Sources を参照してください。
- Settings ページでPersonal Access Token (PAT) を生成します。PAT をコピーし、認証時にパスワードとして使用します。
Connect AI に接続する
SQL Server Linked Server からConnect AI の仮想SQL Server API へのコネクションを確立するには以下の手順に従います。1
Open Microsoft SQL Server Management Studio.
2
In the Object Explorer pane, open Server Objects, right-click Linked Servers, and select New Linked Server.

3
The New Linked Server dialogue opens. On the General page, enter the following information:
- Enter a memorable name for the server in the Linked server field.
- Select the radio button Other data source and select Microsoft OLE DB Driver for SQL Server as the provider.
- In the Data source field, enter tds.cdata.com,14333
- Leave the other fields empty.

4
Select the Security page. At the bottom, select the radio button labelled Be made using this security context and enter the following information:
- Remote login—Connect AI のユーザー名を入力します。ユーザー名は、Connect AI の画面の右上に表示されています。例:
[email protected] - With password—Settings ページで生成したPAT を入力します。

5
Click OK to create the server.