<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Hash functions in T-SQL</title>
	<link>http://blogs.clarience.com/davide/?p=11</link>
	<description>Software architecture, development and other tidbits.</description>
	<pubDate>Thu, 09 Sep 2010 04:36:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: Bernie</title>
		<link>http://blogs.clarience.com/davide/?p=11#comment-359</link>
		<author>Bernie</author>
		<pubDate>Wed, 28 Jan 2009 22:20:29 +0000</pubDate>
		<guid>http://blogs.clarience.com/davide/?p=11#comment-359</guid>
		<description>It is some what ridiculous to have a checksum function that returns collisions to this degree.  In my own experience using a population of a 100K rows and 3 fields(char, datetime, int) to compute a checksum on a record.  23 times the Checksum function return the same value. I deem this to be hardly deterministic and therefore this function and sql server by association is making my job more difficult.  Temporarily, I am using the hashbyte function and passing that value to the checksum. No collisions so far :). I am very concerned that SQLServer has such a poor implementation of a CRC-32 hash algorith. I might switch to Oracle if I have anymore issues with hashing or third party hash written in C++.</description>
		<content:encoded><![CDATA[<p>It is some what ridiculous to have a checksum function that returns collisions to this degree.  In my own experience using a population of a 100K rows and 3 fields(char, datetime, int) to compute a checksum on a record.  23 times the Checksum function return the same value. I deem this to be hardly deterministic and therefore this function and sql server by association is making my job more difficult.  Temporarily, I am using the hashbyte function and passing that value to the checksum. No collisions so far :). I am very concerned that SQLServer has such a poor implementation of a CRC-32 hash algorith. I might switch to Oracle if I have anymore issues with hashing or third party hash written in C++.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan WIlliams</title>
		<link>http://blogs.clarience.com/davide/?p=11#comment-315</link>
		<author>Ryan WIlliams</author>
		<pubDate>Thu, 04 Dec 2008 00:10:27 +0000</pubDate>
		<guid>http://blogs.clarience.com/davide/?p=11#comment-315</guid>
		<description>FFF61235-EC1A-428C-9FC8-DD794D4115A4 also has the same checksum</description>
		<content:encoded><![CDATA[<p>FFF61235-EC1A-428C-9FC8-DD794D4115A4 also has the same checksum</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Generating a unique number for each row &#171; Exploring Microsoft.NET &#38; Apple Macintosh</title>
		<link>http://blogs.clarience.com/davide/?p=11#comment-148</link>
		<author>Generating a unique number for each row &#171; Exploring Microsoft.NET &#38; Apple Macintosh</author>
		<pubDate>Mon, 04 Aug 2008 18:05:48 +0000</pubDate>
		<guid>http://blogs.clarience.com/davide/?p=11#comment-148</guid>
		<description>[...] Update: I happen to read that checksum() function is not guaranteed to give unique values. This is the case with SQL Server 2000 and I believe the same case with SQL Server 2005. For more information on checksum() collisions, take a look at this URL: http://blogs.clarience.com/davide/?p=11. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Update: I happen to read that checksum() function is not guaranteed to give unique values. This is the case with SQL Server 2000 and I believe the same case with SQL Server 2005. For more information on checksum() collisions, take a look at this URL: <a href="http://blogs.clarience.com/davide/?p=11." rel="nofollow">http://blogs.clarience.com/davide/?p=11.</a> [&#8230;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
