Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

binary_checksum produce same number for different values

$
0
0

Hi All

I want to produce unique number using with table columns,the problem is,i used lots of combination of checksum,binary_checksum,but these functions produce same number for different values.Do you have any suggestion ? I want to check the table column using with different column and if it already exists in there,i will delete it and insert new one,i dont want to do BIG join cause of performance issue. Example belows produce same number.

SELECT
    BINARY_CHECKSUM ('LU82','FS8B22','0012301112','0012301112','0002712649','2013-08-27','B000711001014900',NULL) ,
    BINARY_CHECKSUM ('LU82','FS8B22','0012301112','0012301112','0002712646','2013-08-27','B000711001014600',NULL)


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>