SQL Server Ignore Nocheck And With Nocheck Setting
Published 15 January 2025
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
andWITH 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