SQL Server Ignore Nocheck And With Nocheck Setting

Description

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

When this option is selected:

  • constraints are always applied, even when NOCHECK and WITH NOCHECK are enabled.
  • the 'Ignore WITH NOCHECK' option is automatically selected.

Type

Boolean

Default

false

Usage

This setting can't be configured other than in a TOML configuration file.

Flyway Desktop

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

TOML Configuration File

[redgateCompare.sqlserver.options.ignores]
ignoreNocheckAndWithNocheck = true

Didn't find what you were looking for?