SQL Server Data Trim Trailing White Space Setting
Published 15 January 2025
Description
If the data in two columns differs only by whitespace at the end of the string, the data will be considered to be identical. This option applies to the following data types:
- char
- varchar
- text
- nchar
- nvarchar
- ntext
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 data comparison options settings in SQL Server projects.
TOML Configuration File
[redgateCompare.sqlserver.data.options.comparison]
trimTrailingWhiteSpace = true