SQL Server Linked Server


SQL Server Linked Server


このページではSQL Server Linked Server をCData Connect の仮想SQL Server API に接続する手順の概要を示します。

前提条件

接続する前にまず以下を実行します。

  • データソースをCData Connect アカウントに接続します。詳しくは、Connections を参照してください。
  • Settings ページでPersonal Access Token (PAT) を生成します。PAT をコピーし、認証時にパスワードとして使用します。

CData Connect に接続する

SQL Server Linked Server からCData Connect の仮想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

    • In the Catalog field, enter 接続したいCData Connect データソースのConnection Name を入力します。例:Salesforce1

  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—CData Connect のユーザー名を入力します。ユーザー名は、CData Connect の画面の右上に表示されています。例:test@cdata.co.jp

    • With passwordSettings ページで生成したPAT を入力します。

  5. Click OK to create the server.

Your linked server can now be used to access the data in the data source you specified. If you need to access data from more sources, create another linked server for each one.