Skip to main content

SQL Server Source Connector

The SQL Server source connector lets DataSync retrieve data from Microsoft SQL Server database and load it into your data warehouse. Once your source connection is ready, configure your destination connection to finish the setup.

Create the source connection in DataSync

  1. Log in to DataSync.
  2. From the welcome screen, select Connections.
  3. Next to Source Connections, click New.
  4. Select SQL Server.
  5. Enter all required connection properties.
  6. (Optional) In the Additional Connection Properties panel, click Add property and enter any extra parameters you need.
  7. Configure the advanced settings to match your environment, including Tracking Type.
  8. Click Save.

Connection properties

PropertyWhat to enter
DescriptionUnique name for the connection. Example: SQL Server.
ServerServer name or IP address of the SQL Server database. Example: SQLSERVER01\MAIN or 192.168.1.50,1433.
DatabaseName of the SQL Server database to connect to. Example: SalesDB.
UsernameLogin account for accessing the database. Example: dbadmin.
PasswordPassword for this account.
TimeoutTime in seconds to wait before a connection attempt or query execution times out.
EncryptEnables SSL encryption for the connection. Recommended when data security is a priority.
Trust Server CertificateBypasses SSL certificate validation. Enable only if your server uses a self-signed certificate.

Additional connection properties

Use this panel to enter connection string properties not available in the Connection Properties panel. For sensitive values such as passwords, set the type to Encrypted. The value is hidden in the interface and stored encrypted in the back end.

PropertyWhat to enter
PropertyConnection string property that defines the action or behavior. Example: ReadOnly.
ValueValue for the property. Example: True.
TypeVisibility settings: Visible or Encrypted.

Advanced settings

These settings control how the connector tracks data changes, handles time and regional configuration, and processes records during extraction. Configure them to match your SQL Server environment so that results stay accurate and consistent.

SettingWhat to select
Tracking TypeMethod for tracking data changes: None or Date.
RegionRegion setting for the connector, if required by your setup.
Time ZoneTime zone matching your SQL Server environment.
Time OffsetRefresh offset in seconds to compensate for timing issues in record selection. Minimum 0, maximum 3600.
Batch SizeNumber of records processed per batch during extraction. Larger batches can improve performance but use more memory. Default is 2000, maximum is 10000. Adjust based on your network speed and disk performance. The default works well in most cases.
Transaction With (NOLOCK)Allows extractions to run without waiting for concurrent write operations to finish.

Example setup

SQL Server source connection in DataSync
Completed SQL Server source connection in DataSync, with all properties and settings filled in.

When to use Transaction With (NOLOCK)

By default, DataSync waits for any active write operations to finish before reading from a table. If another process writes to the same table during an extraction, the two operations can block each other and cause the sync to stall. Checking Transaction With (NOLOCK) lets DataSync read without waiting, so extractions are never blocked by concurrent writes.

Enable this option when:

  • The source table receives frequent updates from a live application while DataSync runs.
  • Extraction speed matters more than capturing every record in its final state.

Leave it off when:

  • Downstream reports require every record to reflect fully committed, saved data.
  • Data accuracy takes priority over extraction speed.