LogoLogo
Home
  • Verb Documentation
  • Release Notes
  • Environment Settings
    • Authentication
      • Authentication Endpoint
  • Data Sources
    • Ingestion Methods
    • Table Sync Intervals
    • Data Source Integrations
      • Network Permissions
      • Microsoft SQL Server
      • PostgreSQL
      • MongoDB
      • Snowflake
      • Elasticsearch
      • DynamoDB
      • Google BigQuery
      • Firebase Cloud Firestore
      • Supabase
      • Cloud Files
      • Flat Files
    • Data Synchronization
      • Synchronization Methods
        • Full Synchronization
        • Incremental Synchronization
        • Change Tracking
        • Change Data Capture
      • Synchronization Intervals
      • Synchronization Status
        • Pausing and Resuming
      • Synchronization History
      • Schema Changes
      • Row Filtering
      • Schemaless & NoSQL
      • Managing Connections
      • Troubleshooting
  • Models
    • What is a Model
      • Elements of a Model
      • Model Management
    • Building a Model
      • Add/Remove Data
      • Relationships
      • Row-Level Security
      • Transformations
    • Advanced Model Information
      • Database Keys
      • Unstructured Data
      • Publishing Updates
      • Troubleshooting
      • Automatic Modeling
  • Data Transformations
    • What is a Transformation
      • Elements of a Transformation
      • Transformation Management
    • Building Transformations
      • Creating Transformations
      • Configure Transformation Steps
      • Transformation Steps
        • Calculator
        • Manipulate Text
        • Map Values
        • Remove Duplicates
        • Date Operation
        • Select Columns
        • Change Type
        • Group Data
        • Filter Data
        • Join Data
        • Append Rows
        • Pivot Data
        • Rank Data
        • Window Data
      • Complete and Publish
  • Collections
    • What is a Collection
      • Elements of a Collection
    • Building Collections
    • API Collections
      • Building API Collections
        • Connect Data Sources
        • Data Model
        • Select Data
        • Authentication and Security
        • Data Access API Keys
        • Data Access API Documentation
      • API Collection Versions
    • Advanced Collection Options
      • Time Zones
      • Currency Symbols
  • Tiles
    • What is a Tile
      • Elements of a Tile
    • Tile Management
      • Tile Data
    • Tile Actions
    • Custom Date Formats
    • Currency Conversion
  • Design Themes
    • What is a Design Theme
    • General Theme Settings
    • Data Visualization Settings
  • Account Settings
    • Integrations
      • Slack
  • Legal
    • Terms of Use
    • Privacy Policy
    • Subscription Agreement Terms
    • Subscription Agreement
    • Data Processing Addendum
Powered by GitBook
On this page
  • Supported Ingestion Methods
  • User & Permission Configuration
  • Create User
  • Configure Permissions
  • Enable Change Tracking (CT)
  • Enable Change Data Capture (CDC)

Was this helpful?

  1. Data Sources
  2. Data Source Integrations

Microsoft SQL Server

PreviousNetwork PermissionsNextPostgreSQL

Last updated 4 years ago

Was this helpful?

Supported Ingestion Methods

  • Full

  • Incremental

    • It is highly recommended that a non-clustered, non-unique index on the column used for incremental queries

  • Change Tracking (CT)

    • More information about and instructions to enable Change Tracking can be found .

  • Change Data Capture (CDC)

    • More information about and instructions to enable Change Data Capture can be found .

    • Schema changes require a bit more work to rebuild the CDC functions. Info .

For more information on ingestion methods, .

User & Permission Configuration

It is highly recommended that you create a new user for Verb to access your data. That user should, in most cases, only have read-only access to your data. It is further recommended that you limit the access only to tables necessary for reporting.

Create User

USE [MyDB];
CREATE LOGIN verbdata WITH PASSWORD = 'a long and secure password';
CREATE USER verbdata FOR LOGIN verbdata;

Configure Permissions

GRANT SELECT ON DATABASE::MyDB TO verbdata;
GRANT EXECUTE ON DATABASE::MyDB TO verbdata;

Enable Change Tracking (CT)

First, enable Change Tracking at the database level:

ALTER DATABASE [MyDB] SET CHANGE_TRACKING = ON (CHANGE_RETENTION = 2 DAYS, AUTO_CLEANUP = ON);

Next, enable Change Tracking and grant VIEW CHANGE TRACKING permission on each table to be ingested by Verb:

ALTER TABLE [MyDB].[dbo].[MyTable] ENABLE CHANGE_TRACKING WITH (TRACK_COLUMNS_UPDATED = ON);
GRANT VIEW CHANGE TRACKING ON [dbo].[MyTable] TO verbdata;

Enable Change Data Capture (CDC)

First, enable Change Data Capture at the database level:

USE [MyDB]
GO
EXEC sys.sp_cdc_enable_db
GO

Next, enable Change Data Capture for each table to be ingested by Verb:

USE [MyDB]
GO
EXEC sys.sp_cdc_enable_table
@source_schema = N'dbo',
@source_name   = N'MyTable',
@role_name     = NULL,
@supports_net_changes = 1
GO

For or ingestion methods, only the SELECT permission is required.

For and , the EXECUTE permission is also required.

For more information on SQL Server permissions, click .

For more information on SQL Server Change Tracking, click .

For more information on SQL Server Change Data Tracking, click .

here
here
here
click here
here
here
here
Full
Incremental
Change Tracking
Change Data Capture