加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MsSql教程 > 正文

sql-server – CHECKSUM()和BINARY_CHECKSUM()之间有什么区别,何

发布时间:2020-12-12 16:28:20 所属栏目:MsSql教程 来源:网络整理
导读:MSDN再也没有真正地用简单的英文解释确切的区别,或者是什么时候选择一个. CHECKSUM Returns the checksum value computed over a row of a table,or over a list of expressions. CHECKSUM is intended for use in building hash indexes. BINARY_CHECKSUM Re
MSDN再也没有真正地用简单的英文解释确切的区别,或者是什么时候选择一个.

CHECKSUM

Returns the checksum value computed over a row of a table,or over a list of expressions. CHECKSUM is intended for use in building hash indexes.

BINARY_CHECKSUM

Returns the binary checksum value computed over a row of a table or over a list of expressions. BINARY_CHECKSUM can be used to detect changes to a row of a table.

它提示使用二进制校验和来检测行更改,但不是为什么.

解决方法

查看以下博客文章,突出显示差异.

http://decipherinfosys.wordpress.com/2007/05/18/checksum-functions-in-sql-server-2005/

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读