What are the differences between CHECKSUM() and BINARY_CHECKSUM() and when/what are the appropriate usage scenarios?

前端 未结 5 453
后悔当初
后悔当初 2020-12-17 09:05

Again MSDN does not really explain in plain English the exact difference, or the information for when to choose one over the other.

CHECKSUM

R

5条回答
  •  -上瘾入骨i
    2020-12-17 09:12

    Its easy to get collisions from CHECKSUM(). HASHBYTES() was added in SQL 2005 to enhance SQL Server's system hash functionality so I suggest you also look into this as an alternative.

提交回复
热议问题