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

前端 未结 5 452
后悔当初
后悔当初 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条回答
  •  独厮守ぢ
    2020-12-17 09:18

    Be careful when using CHECSUM, you may get un-expected outcome. the following statements produce the same checksum value;

    SELECT CHECKSUM (N'这么便宜怎么办?廉价iPhone售价再曝光', 5, 4102)
    SELECT CHECKSUM (N'PlayStation Now – Sony startet Spiele-Streaming im Sommer 2014', 238, 13096)
    

提交回复
热议问题