SQL Server
Version 24.3.9121
Version 24.3.9121
SQL Server
CData Sync アプリケーションからSQL Server コネクタを使用して、サポートされている任意のデータソースから同期先のSQL Server へデータを移動できます。これを行うには、コネクタを追加し、コネクタへの認証を行い、接続を完了する必要があります。
SQL Server コネクタを追加
Sync でSQL Server のデータを使用できるようにするには、まず以下の手順でコネクタを追加する必要があります。
-
Sync のダッシュボードから接続ページを開きます。
-
接続を追加をクリックしてコネクタを選択ページを開きます。
-
同期先タブをクリックしてSQL Server 行に移動します。
-
行末にある接続を設定アイコンをクリックして、新しい接続ページを開きます。接続を設定アイコンが利用できない場合は、コネクタをダウンロードアイコンをクリックしてSQL Server コネクタをインストールします。新規コネクタのインストールについて詳しくは、接続を参照してください。
SQL Server への認証
コネクタを追加したら、必須プロパティを設定する必要があります。
-
Connection Name - Enter the connection name of your choice.
-
Server - Enter the host name or IP address of the server that hosts the SQL Server database. The default server is localhost.
-
Port - Enter the port number for SQL Server. The default port value is 1433.
-
Database - Enter the default database to which you want to connect when you connect to SQL Server.
-
User - Enter the username that you use to authenticate to SQL Server.
-
Password - Enter the password that you use to authenticate to SQL Server.
Complete Your Connection
To complete your connection:
-
For Trust Server Certificate, select whether you want to trust the server certificate. The default setting is True.
-
高度な設定タブで接続の高度な設定を定義します。(ただし、ほとんどの場合これらの設定は必要ありません。)
-
作成およびテストをクリックして接続を作成します。
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 |