<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "cast md5 hash to bigint"]]></title>
		<link>http://forums.enterprisedb.com/posts/list/7.page</link>
		<description><![CDATA[Latest messages posted in the topic "cast md5 hash to bigint"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>cast md5 hash to bigint</title>
				<description><![CDATA[ In SQL Server, I might do something like this to create IDs for dimensions.<br /> <br /> select convert(bigint, convert(binary( 8 ), hashbytes('md5', 'foo')))<br /> <br /> Result:<br /> -5999611798422882212<br /> <br /> How would I do the same in GridSQL?<br /> <br /> Thanks.<br /> Don<br /> ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/1541/5397.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/1541/5397.page</link>
				<pubDate><![CDATA[Thu, 4 Dec 2008 13:24:41]]> GMT</pubDate>
				<author><![CDATA[ Don_N]]></author>
			</item>
			<item>
				<title>Re:cast md5 hash to bigint</title>
				<description><![CDATA[ Hi Don,<br /> If your IDs can be hex or text strings, you can do the following:<br /> select md5('foo');<br />                md5<br /> ----------------------------------<br />  acbd18db4cc2f85cedef654fccc4a4d8<br /> (1 row)<br /> <br /> Direct conversion of this value to a bigint causes an overflow.  Will post an update if I find any alternate way to convert hex value to bigint.<br /> <br /> --<br /> Atul]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/1541/5400.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/1541/5400.page</link>
				<pubDate><![CDATA[Fri, 5 Dec 2008 02:46:14]]> GMT</pubDate>
				<author><![CDATA[ Atul_D]]></author>
			</item>
	</channel>
</rss>
