Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

Trailing blanks in unique index

$
0
0

Hi!

I have migrated Oracle-tables to SQL Server using SSMA. First I did the migration to the master database and then I made the same migration to a new database I had created with default settings. The migration to the new database failed but the migration to the master database was ok.

The problem was an unique index violation. The column (varchar) had values with only trailing blanks that differs ("ABC" and "ABC "). As it was not a problem in the master database I presume it's a setting in the database, but I don't know which setting it is.

Where is the setting that makes SQL Server regard "ABC" and "ABC " as different values?


Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>