CHECKSUM
Return types INT
CHECKSUM computes a hash value, called the checksum, over
its argument list. Use this hash value to build hash indexes. A hash index will result if the CHECKSUM function has column arguments, and an index is built over the computed CHECKSUM value. This can be used for equality searches over the columns.
CHECKSUM ignores the nchar and nvarchar dash character (N'-' or nchar(45)). Therefore, a hash collision is guaranteed for any two strings where the only differences are dashes.