Azure SQL Managed Instance as Target
Fivetran Local Data Processing supports integrating changes into Azure SQL Managed Instance. This section describes the configuration requirements for integrating changes (using and ) into Azure SQL Managed Instance location.
Local Data Processing uses the following interfaces to write data into an Azure SQL Managed Instance location:
- SQL Server ODBC driver, used to perform and .
- SQL Server BCP interface, used for copying data into database tables during and .
When with option in Azure SQL Managed Instance, option should not be defined because Azure does not support tables without Clustered Indexes.
Grants for Integrate and Refresh
This section lists the grants/permissions required for integrating changes into Azure SQL Managed Instance.
For simplicity, we have categorized the required permissions into the following two models:
DbOwner
In this permission model, the Local Data Processing database User must be made a database owner (db_owner role). Normally, the database objects that Local Data Processing sometimes creates will be part of the dbo schema as the replicated tables.
Alternatively, these Local Data Processing database objects can be put in a special database schema so that they are not visible to other users. Following are the SQL commands for this alternate method:create schema schemaname; grant control on schema::schemaname to username; alter user username with default_schema=schemaname;content_copyMinimal
In this permission model, the Local Data Processing database User does not need to be a database owner. The following SQL commands are needed so that Local Data Processing can create its own tables:grant create table to username; create schema schemaname; grant control on schema::schemaname to username; alter user username with default_schema=schemaname;content_copyIf action is defined with parameter , then
create procedureprivilege is also needed.grant create procedure to username ;content_copyThis permission model cannot be used if action is defined with parameter to change tables with a different owner.
Comments
0 comments
Please sign in to leave a comment.