The Airbyte MS SQL Server destination allows you to sync data to SQL Server databases.
{% hint style="warning" %}
Tables in MSSQL destinations will be prefixed by _airbyte_raw
due to the fact that MSSQL does not currently support basic normalization. This prefix cannot be removed and this is normal behavior.
{% endhint %}
Each stream will be output into its own table in SQL Server. Each table will contain 3 columns:
_airbyte_ab_id
: a uuid assigned by Airbyte to each event that is processed. The column type in SQL Server isVARCHAR(64)
._airbyte_emitted_at
: a timestamp representing when the event was pulled from the data source. The column type in SQL Server isDATETIMEOFFSET(7)
._airbyte_data
: a JSON blob representing with the event data. The column type in SQL Server isNVARCHAR(MAX)
.
- NVARCHAR is Unicode - 2 bytes per character, therefore max. of 1 billion characters; will handle East Asian, Arabic, Hebrew, Cyrillic etc. characters just fine.
- VARCHAR is non-Unicode - 1 byte per character, max. capacity is 2 billion characters, but limited to the character set you're SQL Server is using, basically - no support for those languages mentioned before
Feature | Supported?(Yes/No) | Notes |
---|---|---|
Full Refresh Sync | Yes | |
Incremental - Append Sync | Yes | |
Incremental - Deduped History | No | As this connector does not support dbt, we don't support this sync mode on this destination. |
Namespaces | Yes |
To use the SQL Server destination, you'll need:
MS SQL Server: Azure SQL Database
, Azure Synapse Analytics
, Azure SQL Managed Instance
, SQL Server 2019
, SQL Server 2017
, SQL Server 2016
, SQL Server 2014
, SQL Server 2012
, or PDW 2008R2 AU34
.
Make sure your SQL Server database can be accessed by Airbyte. If your database is within a VPC, you may need to allow access from the IP you're using to expose Airbyte.
You need a user configured in SQL Server that can create tables and write rows. We highly recommend creating an Airbyte-specific user for this purpose.
You will need to choose an existing database or create a new database that will be used to store synced data from Airbyte.
Airbyte supports a SSL-encrypted connection to the database. If you want to use SSL to securely access your database, ensure that the server is configured to use an SSL certificate.
You should now have all the requirements needed to configure SQL Server as a destination in the UI. You'll need the following information to configure the MSSQL destination:
- Host
- Port
- Username
- Password
- Schema
- Database
- This database needs to exist within the schema provided.
- SSL Method:
- The SSL configuration supports three modes: Unencrypted, Encrypted (trust server certificate), and Encrypted (verify certificate).
- Unencrypted: Do not use SSL encryption on the database connection
- Encrypted (trust server certificate): Use SSL encryption without verifying the server's certificate. This is useful for self-signed certificates in testing scenarios, but should not be used in production.
- Encrypted (verify certificate): Use the server's SSL certificate, after standard certificate verification.
- Host Name In Certificate (optional): When using certificate verification, this property can be set to specify an expected name for added security. If this value is present, and the server's certificate's host name does not match it, certificate verification will fail.
- The SSL configuration supports three modes: Unencrypted, Encrypted (trust server certificate), and Encrypted (verify certificate).
Version | Date | Pull Request | Subject |
---|---|---|---|
0.1.8 | 2021-08-07 | #5272 | Add batch method to insert records |
0.1.7 | 2021-07-30 | #5125 | Enable additionalPropertities in spec.json |
0.1.6 | 2021-06-21 | #3555 | Partial Success in BufferedStreamConsumer |
0.1.5 | 2021-07-20 | #4874 | declare object types correctly in spec |
0.1.4 | 2021-06-17 | #3744 | Fix doc/params in specification file |
0.1.3 | 2021-05-28 | #3728 | Change dockerfile entrypoint |
0.1.2 | 2021-05-13 | #3367 | Fix handle symbols unicode |
0.1.1 | 2021-05-11 | #3566 | MS SQL Server Destination Release! |