Binary_checksum问题 [英] Binary_checksum Issue

查看:66
本文介绍了Binary_checksum问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我正在使用Binary Checksumfor Row添加更新逻辑。


但今天我发现Checksum有一个问题


选择BINARY_CHECKSUM(123.10)

选择BINARY_CHECKSUM(12.310)


-536061628


它为两个值提供相同的二进制校验和,因此我无法更新数据。



有人可以指导






解决方案

这就是怎么回事功能有效;你还没看过
BINARY_CHECKSUM  (处理SQL)

Hi All,

I am using Binary Checksumfor Row Add update logic.

But today I found one problem with Checksum

select BINARY_CHECKSUM(123.10)
select BINARY_CHECKSUM(12.310)

-536061628

It is giving same Binary Checksum for both value and because of this I am not able to update the data .

Can someone please guide


解决方案

That's the way how the functions works; ahven't you read the remarks at BINARY_CHECKSUM  (Transact-SQL)?


这篇关于Binary_checksum问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆