SQL Server comparison settings

These are the settings relating to database comparisons and deployment script generation for SQL Server.  You can also update these through the Flyway Desktop UI.

SQL Server settings table

Name

Required?TypeDescription

filterFile

YesStringThe path to your SQL Compare filter file

schemaSettings

NoSchema settings tableComparison settings relating to schemas

dataSettings

NoData settings tableComparison settings relating to data

SQL Server schema settings table

Name

Required?TypeDescription

behaviourSettings

NoBehaviour settings tableComparison behaviour settings

ignoreSettings

NoIgnore settings tableComparison ignore settings

SQL Server schema behaviour settings table

Name

Required?Type

addCreateOrAlterForRerunnableScripts

NoBoolean

addDropAndCreateForRerunnableScripts

NoBoolean

addNoPopulationToFulltextIndexes

NoBoolean

addObjectExistenceChecks

NoBoolean

addOnlineOnWhenCreatingIndexesOrAlteringColumns

NoBoolean

addWithEncryption

NoBoolean

considerNextFilegroupInPartitionSchemes

NoBoolean

decryptEncryptedObjects

NoBoolean

disableAutoColumnMapping

NoBoolean

dontUseAlterAssemblyToChangeClrObjects

NoBoolean

forbidDuplicateTableStorageSettings

NoBoolean

forceColumnOrder

NoBoolean

ignoreMigrationScripts

NoBoolean

includeDependencies

NoBoolean

includeRoleExistenceChecks

NoBoolean

includeSchemaExistenceChecks

NoBoolean

inlineFulltextFields

NoBoolean

inlineTableObjects

NoBoolean

useCaseSensitiveObjectDefinition

NoBoolean

useDatabaseCompatibilityLevel

NoBoolean

useSetStatementsInScriptDatabaseInfo

NoBoolean

writeAssembliesAsDlls

NoBoolean

SQL Server schema ignore settings table

Name

Required?Type

ignoreAuthorizationOnSchemaObjects 

NoBoolean

ignoreBindings 

NoBoolean

ignoreChangeTracking 

NoBoolean

ignoreCollations 

NoBoolean

ignoreComments 

NoBoolean

ignoreDataCompression 

NoBoolean

ignoreDataSyncSchema 

NoBoolean

ignoreDatabaseAndServerNameInSynonyms 

NoBoolean

ignoreDmlTriggers 

NoBoolean

ignoreDynamicDataMasking 

NoBoolean

ignoreEventNotificationsOnQueues 

NoBoolean
ignoreExtendedProperties NoBoolean
ignoreFileGroupsPartitionSchemesAndPartitionFunctions NoBoolean
ignoreFillFactorAndIndexPadding NoBoolean
ignoreFullTextIndexing NoBoolean
ignoreIdentitySeedAndIncrementValues NoBoolean
ignoreIndexes NoBoolean
ignoreInsteadOfTriggers NoBoolean
ignoreInternallyUsedMicrosoftExtendedProperties NoBoolean
ignoreLockPropertiesOfIndexes NoBoolean
ignoreNocheckAndWithNocheck NoBoolean
ignoreNotForReplication NoBoolean
ignoreNullabilityOfColumns NoBoolean
ignorePerformanceIndexes NoBoolean
ignorePermissions NoBoolean
ignoreReplicationTriggers NoBoolean
ignoreSchemas NoBoolean
ignoreSensitivityClassifications NoBoolean
ignoreSetQuotedIdentifierAndSetAnsiNullsStatements NoBoolean
ignoreSquareBracketsInObjectNames NoBoolean
ignoreStatistics NoBoolean
ignoreStatisticsIncremental NoBoolean
ignoreStatisticsNoRecomputePropertyOnIndexes NoBoolean
ignoreSynonymDependencies NoBoolean
ignoreSystemNamedConstraintAndIndexNames NoBoolean
ignoreTsqltFrameworkAndTests NoBoolean
ignoreUserProperties NoBoolean
ignoreUsersPermissionsAndRoleMemberships NoBoolean
ignoreWhiteSpace NoBoolean
ignoreWithElementOrder NoBoolean
ignoreWithEncryption NoBoolean
ignoreWithNoCheck NoBoolean

SQL Server data settings table

Name

Required?TypeDescription

mappingSettings

NoMapping settings tableData mapping settings

comparisonSettings

NoComparison settings tableData comparison settings

deploymentSettings

NoDeployment settings tableData deployment settings

SQL Server data mapping settings table

Name

Required?Type

includeTimestampColumns 

NoBoolean

useCaseSensitiveObjectDefinition 

NoBoolean

SQL Server data comparison settings table

Name

Required?Type

compressTemporaryFiles

NoBoolean

dorceBinaryCollation

NoBoolean

treatEmptyStringAsNull

NoBoolean

trimTrailingWhiteSpace

NoBoolean

useChecksumComparison

NoBoolean

useMaxPrecisionForFloatComparison

NoBoolean

SQL Server data deployment settings table

Name

Required?Type

disableDdlTriggers

NoBoolean

disableDmlTriggers

NoBoolean

disableForeignKeys

NoBoolean

dontIncludeCommentsInScript

NoBoolean

dropPrimaryKeysIndexesAndUniqueConstraints

NoBoolean

reseedIdentityColumns

NoBoolean

skipIntegrityChecksForForeignKeys

NoBoolean

transportClrDataTypesAsBinary

NoBoolean

Example

[redgateCompare.sqlserver]
filterFile = "Filter.scpf"

[redgateCompare.sqlserver.options.behavior]
addCreateOrAlterForRerunnableScripts = false
addDropAndCreateForRerunnableScripts = false
addNoPopulationToFulltextIndexes = false
addObjectExistenceChecks = false
addOnlineOnWhenCreatingIndexesOrAlteringColumns = false
addWithEncryption = false
considerNextFilegroupInPartitionSchemes = true
decryptEncryptedObjects = true
disableAutoColumnMapping = false
dontUseAlterAssemblyToChangeClrObjects = false
forbidDuplicateTableStorageSettings = false
forceColumnOrder = false
ignoreMigrationScripts = false
includeDependencies = true
includeRoleExistenceChecks = true
includeSchemaExistenceChecks = true
inlineFulltextFields = false
inlineTableObjects = false
useCaseSensitiveObjectDefinition = false
useDatabaseCompatibilityLevel = false
useSetStatementsInScriptDatabaseInfo = false
writeAssembliesAsDlls = false

[redgateCompare.sqlserver.options.ignores]
ignoreAuthorizationOnSchemaObjects = false
ignoreBindings = false
ignoreChangeTracking = false
ignoreCollations = true
ignoreComments = false
ignoreDataCompression = true
ignoreDataSyncSchema = false
ignoreDatabaseAndServerNameInSynonyms = true
ignoreDmlTriggers = false
ignoreDynamicDataMasking = false
ignoreEventNotificationsOnQueues = false
ignoreExtendedProperties = false
ignoreFileGroupsPartitionSchemesAndPartitionFunctions = true
ignoreFillFactorAndIndexPadding = true
ignoreFullTextIndexing = false
ignoreIdentitySeedAndIncrementValues = false
ignoreIndexes = false
ignoreInsteadOfTriggers = false
ignoreInternallyUsedMicrosoftExtendedProperties = false
ignoreLockPropertiesOfIndexes = false
ignoreNocheckAndWithNocheck = false
ignoreNotForReplication = true
ignoreNullabilityOfColumns = false
ignorePerformanceIndexes = false
ignorePermissions = false
ignoreReplicationTriggers = true
ignoreSchemas = false
ignoreSensitivityClassifications = false
ignoreSetQuotedIdentifierAndSetAnsiNullsStatements = false
ignoreSquareBracketsInObjectNames = false
ignoreStatistics = true
ignoreStatisticsIncremental = false
ignoreStatisticsNoRecomputePropertyOnIndexes = false
ignoreSynonymDependencies = false
ignoreSystemNamedConstraintAndIndexNames = false
ignoreTsqltFrameworkAndTests = true
ignoreUserProperties = true
ignoreUsersPermissionsAndRoleMemberships = true
ignoreWhiteSpace = true
ignoreWithElementOrder = true
ignoreWithEncryption = false
ignoreWithNoCheck = true

[redgateCompare.sqlserver.data.options.mapping]
includeTimestampColumns = false
useCaseSensitiveObjectDefinition = true

[redgateCompare.sqlserver.data.options.comparison]
compressTemporaryFiles = false
forceBinaryCollation = true
treatEmptyStringAsNull = false
trimTrailingWhiteSpace = false
useChecksumComparison = false
useMaxPrecisionForFloatComparison = false

[redgateCompare.sqlserver.data.options.deployment]
disableDdlTriggers = true
disableDmlTriggers = false
disableForeignKeys = false
dontIncludeCommentsInScript = false
dropPrimaryKeysIndexesAndUniqueConstraints = false
reseedIdentityColumns = false
skipIntegrityChecksForForeignKeys = false
transportClrDataTypesAsBinary = false

Didn't find what you were looking for?