<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Querying MS SQL Server G/UUIDs from ColdFusion</title>
	<atom:link href="http://jochem.vandieten.net/2008/12/15/querying-ms-sql-server-guuids-from-coldfusion/feed/" rel="self" type="application/rss+xml" />
	<link>http://jochem.vandieten.net/2008/12/15/querying-ms-sql-server-guuids-from-coldfusion/</link>
	<description>Jochem's tech exploits</description>
	<pubDate>Wed, 10 Jun 2026 14:48:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Judah McAuley</title>
		<link>http://jochem.vandieten.net/2008/12/15/querying-ms-sql-server-guuids-from-coldfusion/comment-page-1/#comment-211</link>
		<dc:creator>Judah McAuley</dc:creator>
		<pubDate>Fri, 06 Mar 2009 22:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://jochem.vandieten.net/2008/12/15/querying-ms-sql-server-guuids-from-coldfusion/#comment-211</guid>
		<description>Jochem, just an fyi, but there is a cfsqlparam datatype specified for uniqueidentifiers. It is CF_SQL_IDSTAMP  I would not have known but I was just running Illudium against a table with a uniqueidentifier and noticed a weird cfsqlparam that I hadn't seen before.

http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&#38;file=00000317.htm</description>
		<content:encoded><![CDATA[<p>Jochem, just an fyi, but there is a cfsqlparam datatype specified for uniqueidentifiers. It is CF_SQL_IDSTAMP  I would not have known but I was just running Illudium against a table with a uniqueidentifier and noticed a weird cfsqlparam that I hadn&#8217;t seen before.</p>
<p><a href="http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&amp;file=00000317.htm" rel="nofollow">http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&amp;file=00000317.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tjarko</title>
		<link>http://jochem.vandieten.net/2008/12/15/querying-ms-sql-server-guuids-from-coldfusion/comment-page-1/#comment-136</link>
		<dc:creator>Tjarko</dc:creator>
		<pubDate>Thu, 18 Dec 2008 09:15:39 +0000</pubDate>
		<guid isPermaLink="false">http://jochem.vandieten.net/2008/12/15/querying-ms-sql-server-guuids-from-coldfusion/#comment-136</guid>
		<description>@Jochem What I mean is that when i looked at some sites we are running I had several statements "tuned" with cfqueryparam and after those changes the site went from tens of milliseconds to hundreds of milliseconds. Changing it back after several days returned everything to tens of milliseconds. These sites have about 10 to 15 thousand visitors every day.. and that makes a difference in performance.. hence "everything a lot faster" The only difference for this was the use of cfqueryparam.</description>
		<content:encoded><![CDATA[<p>@Jochem What I mean is that when i looked at some sites we are running I had several statements &#8220;tuned&#8221; with cfqueryparam and after those changes the site went from tens of milliseconds to hundreds of milliseconds. Changing it back after several days returned everything to tens of milliseconds. These sites have about 10 to 15 thousand visitors every day.. and that makes a difference in performance.. hence &#8220;everything a lot faster&#8221; The only difference for this was the use of cfqueryparam.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Orange is my favorite color &#187; Blog Archive &#187; Converting from UUIDs to GUIDs</title>
		<link>http://jochem.vandieten.net/2008/12/15/querying-ms-sql-server-guuids-from-coldfusion/comment-page-1/#comment-128</link>
		<dc:creator>Orange is my favorite color &#187; Blog Archive &#187; Converting from UUIDs to GUIDs</dc:creator>
		<pubDate>Tue, 16 Dec 2008 18:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://jochem.vandieten.net/2008/12/15/querying-ms-sql-server-guuids-from-coldfusion/#comment-128</guid>
		<description>[...] been reading through a handful of Jochem&#8217;s posts about Adobe&#8217;s (incompatible with the standard 35-character) [...]</description>
		<content:encoded><![CDATA[<p>[...] been reading through a handful of Jochem&#8217;s posts about Adobe&#8217;s (incompatible with the standard 35-character) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jochem</title>
		<link>http://jochem.vandieten.net/2008/12/15/querying-ms-sql-server-guuids-from-coldfusion/comment-page-1/#comment-127</link>
		<dc:creator>Jochem</dc:creator>
		<pubDate>Tue, 16 Dec 2008 09:40:27 +0000</pubDate>
		<guid isPermaLink="false">http://jochem.vandieten.net/2008/12/15/querying-ms-sql-server-guuids-from-coldfusion/#comment-127</guid>
		<description>@Tjarko: I think you not extrapolate a benchmark I wrote to prove a specific point to "everything" and "a lot faster".</description>
		<content:encoded><![CDATA[<p>@Tjarko: I think you not extrapolate a benchmark I wrote to prove a specific point to &#8220;everything&#8221; and &#8220;a lot faster&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jochem</title>
		<link>http://jochem.vandieten.net/2008/12/15/querying-ms-sql-server-guuids-from-coldfusion/comment-page-1/#comment-126</link>
		<dc:creator>Jochem</dc:creator>
		<pubDate>Tue, 16 Dec 2008 09:38:12 +0000</pubDate>
		<guid isPermaLink="false">http://jochem.vandieten.net/2008/12/15/querying-ms-sql-server-guuids-from-coldfusion/#comment-126</guid>
		<description>Numeric or integer? I expect &lt;a href="http://msdn.microsoft.com/en-us/library/ms187746(SQL.90).aspx" rel="nofollow"&gt;numeric&lt;/a&gt; to perform about the same as a uniqueidentifier because, although it is smaller, it is a 'complex' type: it has some internal representation that needs to be decoded before any operation can be performed on it.

An &lt;a href="http://msdn.microsoft.com/en-us/library/ms187745(SQL.90).aspx" rel="nofollow"&gt;integer&lt;/a&gt; will be a bit faster because it is smaller. Not that much though, when I went from a varchar to a uniqueidentifier  I already got most of the gains becuase that conversion gets rid of all the extra internal operations that are involved with manipulating strings (locale, case sensitivity etc.). So all the gains going from uniqueidentifier to integer stem from the difference in storage size, and that matters less.

But this benchmark is designed for a specific situation (real data from a production system that already has UUIDs that can not be shortened to integers) and to prove a specific point (I benchmark tables with predominantly UUID columns), so it would not be very suited to benchmark anything else.</description>
		<content:encoded><![CDATA[<p>Numeric or integer? I expect <a href="http://msdn.microsoft.com/en-us/library/ms187746(SQL.90).aspx" rel="nofollow">numeric</a> to perform about the same as a uniqueidentifier because, although it is smaller, it is a &#8216;complex&#8217; type: it has some internal representation that needs to be decoded before any operation can be performed on it.</p>
<p>An <a href="http://msdn.microsoft.com/en-us/library/ms187745(SQL.90).aspx" rel="nofollow">integer</a> will be a bit faster because it is smaller. Not that much though, when I went from a varchar to a uniqueidentifier  I already got most of the gains becuase that conversion gets rid of all the extra internal operations that are involved with manipulating strings (locale, case sensitivity etc.). So all the gains going from uniqueidentifier to integer stem from the difference in storage size, and that matters less.</p>
<p>But this benchmark is designed for a specific situation (real data from a production system that already has UUIDs that can not be shortened to integers) and to prove a specific point (I benchmark tables with predominantly UUID columns), so it would not be very suited to benchmark anything else.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tjarko</title>
		<link>http://jochem.vandieten.net/2008/12/15/querying-ms-sql-server-guuids-from-coldfusion/comment-page-1/#comment-124</link>
		<dc:creator>Tjarko</dc:creator>
		<pubDate>Tue, 16 Dec 2008 07:19:54 +0000</pubDate>
		<guid isPermaLink="false">http://jochem.vandieten.net/2008/12/15/querying-ms-sql-server-guuids-from-coldfusion/#comment-124</guid>
		<description>Really curious about your next findings, i always had the sneaking suspicion that without cfqueryparam everything went a lot faster, and apparently this is true.</description>
		<content:encoded><![CDATA[<p>Really curious about your next findings, i always had the sneaking suspicion that without cfqueryparam everything went a lot faster, and apparently this is true.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zac Spitzer</title>
		<link>http://jochem.vandieten.net/2008/12/15/querying-ms-sql-server-guuids-from-coldfusion/comment-page-1/#comment-121</link>
		<dc:creator>Zac Spitzer</dc:creator>
		<pubDate>Tue, 16 Dec 2008 02:04:54 +0000</pubDate>
		<guid isPermaLink="false">http://jochem.vandieten.net/2008/12/15/querying-ms-sql-server-guuids-from-coldfusion/#comment-121</guid>
		<description>I'd be interested to see the stats where you just use a plain old (of course not replicate friendly) numeric key</description>
		<content:encoded><![CDATA[<p>I&#8217;d be interested to see the stats where you just use a plain old (of course not replicate friendly) numeric key</p>
]]></content:encoded>
	</item>
</channel>
</rss>
