SQL Server

Version 23.4.8843


SQL Server


CData Sync アプリケーションからSQL Server コネクタを使用して、サポートされている任意のデータソースから同期先のSQL Server へデータを移動できます。これを行うには、コネクタを追加し、コネクタへの認証を行い、接続を完了する必要があります。

SQL Server コネクタを追加

Sync でSQL Server のデータを使用できるようにするには、まず以下の手順でコネクタを追加する必要があります。

  1. Sync のダッシュボードから接続ページを開きます。

  2. 接続を追加をクリックしてコネクタを選択ページを開きます。

  3. 同期先タブをクリックしてSQL Server 行に移動します。

  4. 行末にある接続を設定アイコンをクリックして、新しい接続ページを開きます。接続を設定アイコンが利用できない場合は、コネクタをダウンロードアイコンをクリックしてSQL Server コネクタをインストールします。新規コネクタのインストールについて詳しくは、接続を参照してください。

SQL Server への認証

コネクタを追加したら、必須プロパティを設定する必要があります。

On the New Connection page, enter the connection name of your choice.

CData Sync supports authenticating to SQL Server in several ways. Select your authentication method below to proceed to the relevant section that contains the authentication details.

SQL Server Authentication

To authenticate with your SQL Server login credentials, specify these settings:

  • User - Enter the username that you use to authenticate to SQL Server.

  • Password - Enter the password that you use to authenticate to SQL Server.

Windows Authentication

The Windows Authentication scheme does not require any additional settings. So, you can select this scheme and continue with the settings and steps in Complete Your Connection.

Complete Your Connection

To complete your connection:

  1. Specify the following settings:

    • Server - Enter the host name or IP address of the server that hosts the SQL Server database.

    • Database - Enter the default database to which you want to connect when you connect to SQL Server.

  2. 高度な設定タブで接続の高度な設定を定義します。(ただし、ほとんどの場合これらの設定は必要ありません。)

  3. 作成およびテストをクリックして接続を作成します。

Data-Type Mapping

CData Sync uses the following data-type conversions when loading data into your SQL Server database:

CData Type SQL Server Type Notes
Boolean Bit  
Date Date  
Time Time  
TimeStamp DateTime2  
Decimal Decimal  
Float Float  
Double Float  
SmallInt SmallInt  
Integer Int  
Long BigInt  
Binary VarBinary(<ColumnSize>) If ColumnSize > 1000, ColumnSize = MAX
Varchar Varchar(<ColumnSize>) If ColumnSize > 4000, ColumnSize = MAX