Back to Flyway

SQL Server Data Use Case Sensitive Object Definition Setting

documentation/Reference/Configuration/Redgate Compare Namespace/Redgate Compare SQL Server Namespace/SQL Server Data Mapping Options Namespace/SQL Server Data Use Case Sensitive Object Definition Setting.md

latest908 B
Original Source

Description

Treats object names (tables, views, users, roles, schemas, indexes, and columns) as case-sensitive when mapping. For example, [dbo].[Widget] will not be mapped to [dbo].[wIDgEt] when this option is set.

Note that:

  • if the databases that you are comparing are running on a SQL Server that uses case-sensitive sort order, you should ensure that this option is selected.
  • if you compare a SQL Azure database with this option selected, false differences may be highlighted.

Type

Boolean

Default

true

Usage

Flyway Desktop

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

Command-line

powershell
./flyway diff -redgateCompare.sqlserver.data.options.mapping.useCaseSensitiveObjectDefinition=false

TOML Configuration File

toml
[redgateCompare.sqlserver.data.options.mapping]
useCaseSensitiveObjectDefinition = false