SQL Server Data Skip Integrity Checks For Foreign Keys Setting

Description

Uses WITH NOCHECK to skip integrity checks for foreign key constraints. If you select this option:

  • deployments may run faster.
  • foreign keys will be left in a 'not trusted' state.

Type

Boolean

Default

false

Usage

Flyway Desktop

This can be set from the data comparison options settings in SQL Server projects.

Command-line

./flyway diff -redgateCompare.sqlserver.data.options.deployment.skipIntegrityChecksForForeignKeys=true

TOML Configuration File

[redgateCompare.sqlserver.data.options.deployment]
skipIntegrityChecksForForeignKeys = true

Didn't find what you were looking for?