SQL Server

Version 24.3.9110


SQL Server


You can use the SQL Server connector from the CData Sync application to move data from any supported source to the SQL Server destination. To do so, you need to add the connector, authenticate to the connector, and complete your connection.

Add the SQL Server Connector

To enable Sync to use data from SQL Server, you first must add the connector, as follows:

  1. Open the Connections page of the Sync dashboard.

  2. Click Add Connection to open the Select Connectors page.

  3. Click the Destinations tab and locate the SQL Server row.

  4. Click the Configure Connection icon at the end of that row to open the New Connection page. If the Configure Connection icon is not available, click the Download Connector icon to install the SQL Server connector. For more information about installing new connectors, see Connections.

Authenticate to SQL Server

After you add the connector, you need to set the required properties.

  • 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:

  1. For Trust Server Certificate, select whether you want to trust the server certificate. The default setting is True.

  2. Define advanced connection settings on the Advanced tab. (In most cases, though, you should not need these settings.)

  3. Click Create & Test to create your connection.

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