Back to Flyway

SQL Server Behavior Options Namespace

documentation/Reference/Configuration/Redgate Compare Namespace/Redgate Compare SQL Server Namespace/SQL Server Behavior Options Namespace.md

latest10.4 KB
Original Source

This namespace contains the configurations relating to SQL Server database comparison and script generation behavior.

Settings

SettingTypeDescription
addCreateOrAlterForRerunnableScriptsBooleanUse CREATE OR ALTER statements for rerunnable objects.
addDropAndCreateForRerunnableScriptsBooleanUse DROP and CREATE statements for rerunnable scripts.
addNoPopulationToFulltextIndexesBooleanAdds the NO POPULATION clause to all new fulltext indexes.
addObjectExistenceChecksBooleanAdd IF EXISTS statements to check for object existence before modifications in generated scripts.
addOnlineOnWhenCreatingIndexesOrAlteringColumnsBooleanAdds the ONLINE = ON option when creating relational indexes or altering columns.
addWithEncryptionBooleanAdds WITH ENCRYPTION to stored procedures, functions, views, and triggers.
considerNextFilegroupInPartitionSchemesBooleanIf a partition scheme contains a next filegroup, the next filegroup is considered in the comparison.
decryptEncryptedObjectsBooleanDecrypt encrypted objects.
disableAutoColumnMappingBooleanDisable automatic mapping of similarly named columns.
dontUseAlterAssemblyToChangeClrObjectsBooleanDrop and recreate CLR assemblies and dependent objects rather than using ALTER ASSEMBLY.
forbidDuplicateTableStorageSettingsBooleanForbids setting file group, file stream, partition scheme, and data compression options on both a table and a clustered index or non-inlined clustered constraint on that table.
forceColumnOrderBooleanIf additional columns are inserted into the middle of a table, this option forces a rebuild of the table so the column order is correct following deployment.
ignoreMigrationScriptsBooleanIgnore SQL Source Control migration scripts in comparisons.
includeDependenciesBooleanIncludes dependent objects when comparing and deploying databases.
includeRoleExistenceChecksBooleanChecks for existence of role objects before creating them.
includeSchemaExistenceChecksBooleanChecks for existence of schema objects before creating them.
inlineFulltextFieldsBooleanScript out fulltext indexes as a single CREATE statement instead of may ALTER statements.
inlineTableObjectsBooleanScript out definitions as part of the table's body where possible for primary keys, foreign keys etc.
useCaseSensitiveObjectDefinitionBooleanPerform comparisons on objects case sensitively.
useDatabaseCompatibilityLevelBooleanUse a database's compatibility level instead of the SQL Server version.
useSetStatementsInScriptDatabaseInfoBooleanUse RedGateDatabaseProperties.xml to store/recover set statements for objects.
writeAssembliesAsDllsBooleanCLR Assembly objects will be written in their true DLL form rather than a sql script containing a binary blob in hex.