Microsoft Azure SQL Database

Snowflake Cost Saving

We Automate SnowflakeDB Data Cloud Cost Saving. Sign Our Free 7 Days No Risk Trail Now

Data Connector Description:

Data Connector Type: Database

Data Connector Documentation:

[Azure SQL Database Setup Guide, Follow these instructions to replicate your Azure SQL database to your destination via Fivetran., Prerequisites, To connect your SQL Server database to Fivetran, you need: , SQL Server version 2012 or above, IP (e.g. or host (, Port (usually 1433), Choose a connection method , Decide whether to connect your SQL Server database directly or using an SSH tunnel. , Connect directly, Fivetran connects directly to your database instance. This is the simplest and most secure connection method., “To connect directly, create a firewall rule to allow access to Fivetrans IPs. “, Connect using SSH, Fivetran connects to a separate server in your network that provides an SSH tunnel to your database. You must connect through SSH if your database is in an inaccessible subnet on a virtual network., “To connect using SSH, create a firewall rule to allow access to your SSH tunnel servers IP address.”, Enable access, “Fivetrans data processing servers need access to your database server. You must configure the firewall.”, Configure server firewall, Open the SQL database firewall settings in the Azure console., Select , SQL databases, in the left menu, then select the SQL database that you want to replicate., Click , Set server firewall, ., Add a new firewall rule, Add a new firewall rule and save. Use , “Fivetrans IP”, ” if you are connecting directly or your SSH tunnel servers IP address if you are connecting using SSH.”, Enter host and port in setup form, In your Fivetran setup form, enter the host and port., Host, : , Server name, in the Azure database dashboard overview., Port, : , 1433, Create a Fivetran user, Run the following command to add a , container database user, . Replace , , with the name of your database and , , with a password of your choice:, “USE [];nCREATE USER fivetran WITH PASSWORD = ; n”, Grant user permissions, “Once youve created the “, fivetran, user, grant it SELECT permission for the database, schemas, tables, or specific columns you want Fivetran to sync. You can grant access to everything in a given database:, GRANT SELECT on DATABASE::[] to fivetran;n, or all tables in a given schema:, GRANT SELECT on SCHEMA::[] to fivetran;n, or a specific table:, GRANT SELECT ON [].[] TO fivetran;n, or a set of specific columns in a table:, GRANT SELECT ON [].[] ([], [], …) TO fivetran;n, or all but a set set of specific columns in a table:, GRANT SELECT ON [].[] TO fivetran;nDENY SELECT ON [].[] ([], [], …) TO fivetran;n, Enter user, password, and database in setup form, In your Fivetran setup form, enter your user, password, and database name., For the , User enter , fivetran@ where , , is part of your Azure host URL: ,, For the , Password enter the password you set , when you created the user, ., For the , Database enter the name of the database you want to replicate from., Enable incremental updates, “We use one of SQL Servers two built-in tracking mechanisms for incremental updates: “, change tracking (CT), and , change data capture (CDC), “. When enabled, both CT and CDC keep a record of the table rows that have changed in a certain window of time (the default window is the most recent 2 days). These mechanisms let Fivetran copy only the rows that have changed since the last data sync so we dont have to copy the whole table every time.”, Choose to enable either change tracking or change data capture. To learn more about CT and CDC, see our , updating data documentation, ., Change tracking, Enable change tracking at the database level:, ALTER DATABASE [] SET CHANGE_TRACKING = ON;n, Enable change tracking for each table you want to integrate:, ALTER TABLE [].[] ENABLE CHANGE_TRACKING;n, Grant the , fivetran, user , VIEW CHANGE TRACKING, permission for each of the tables that have change tracking enabled:, GRANT VIEW CHANGE TRACKING ON [].[] TO fivetran;n, Change tracking needs to be enabled at this step before continuing., Change data capture, Enable change data capture at the database level:, USE [];nEXEC sys.sp_cdc_enable_db;n, Enable change data capture for each table you want to integrate:, EXEC sys.sp_cdc_enable_table n@source_schema = [],n@source_name = [],n@role_name = [];n, Note: Fivetran only supports tables with a single CDC capture instance that includes every column., Choose schema prefix, Each database from your source will be mapped to a schema in the destination by adding a prefix to the source database name. For example, if your source database names are “foo” and “bar” and if you choose the prefix “source1”, then you will get schemas “source1_foo” and “source1_bar” in the destination., Related articles, description, Connector Overview, , account_tree, Schema Information, , assignment, Release Notes, , settings, API Connector Configuration, , home, Documentation Home]

Join The Club

Every week, we'll be sending you curated materials handpicked by professionals. Plus, you'll be the first to know about our latest data!

presentation/data share body form

Maximize Your Data Potential With ITS