Back to Flyway

SQL Server Ignore With Nocheck Setting

documentation/Reference/Configuration/Redgate Compare Namespace/Redgate Compare SQL Server Namespace/SQL Server Ignore Options Namespace/SQL Server Ignore With Nocheck Setting.md

latest607 B
Original Source

Description

Ignores the WITH NOCHECK argument on foreign keys and check constraints.

When this option is selected, disabled constraints are ignored, so this option is useful if you want to find out if a constraint is disabled.

Type

Boolean

Default

true

Usage

Flyway Desktop

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

Command-line

powershell
./flyway diff -redgateCompare.sqlserver.options.ignores.ignoreWithNoCheck=false

TOML Configuration File

toml
[redgateCompare.sqlserver.options.ignores]
ignoreWithNoCheck = false