<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>G's Weblog</title>
	<atom:link href="http://xtec.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://xtec.wordpress.com</link>
	<description>All about technology</description>
	<lastBuildDate>Sun, 19 Aug 2007 11:34:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='xtec.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>G's Weblog</title>
		<link>http://xtec.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://xtec.wordpress.com/osd.xml" title="G&#039;s Weblog" />
	<atom:link rel='hub' href='http://xtec.wordpress.com/?pushpress=hub'/>
		<item>
		<title>The use of GUID instead of auto-increment index</title>
		<link>http://xtec.wordpress.com/2007/08/19/the-use-of-guid-instead-of-auto-increment-index/</link>
		<comments>http://xtec.wordpress.com/2007/08/19/the-use-of-guid-instead-of-auto-increment-index/#comments</comments>
		<pubDate>Sun, 19 Aug 2007 11:30:50 +0000</pubDate>
		<dc:creator>dnasand</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://xtec.wordpress.com/2007/08/19/the-use-of-guid-instead-of-auto-increment-index/</guid>
		<description><![CDATA[I&#8217;m not a big fan of using an auto-increment index in my database tables. So the alternative? Using GUID (Globally Unique Identifier) instead of auto-increment indexes. It&#8217;s an unique 128-bit number that can be used to identify unique objects, database entries, &#8230; . When you open the registry of Windows you&#8217;ll see alot of GUID&#8217;s, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xtec.wordpress.com&amp;blog=1547090&amp;post=3&amp;subd=xtec&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not a big fan of using an auto-increment index in my database tables. So the alternative? Using GUID (<strong>Globally Unique Identifier</strong>) instead of auto-increment indexes. It&#8217;s an unique <strong>128-bit</strong> number that can be used to <strong>identify unique</strong> objects, database entries, &#8230; . When you open the registry of Windows you&#8217;ll see alot of GUID&#8217;s, they&#8217;re used to uniquely identify applications. In most of my application I use MS SQL databases. <strong>MS SQL</strong> has a datatype named &#8216;<strong>unique identifier</strong>&#8216; used to store a GUID. So it has integrated the use of GUID&#8217;s. Now the show how to generate a GUID in <strong>.NET</strong>, I&#8217;ll explain it with a code example in C#.</p>
<p><img src="http://xtec.files.wordpress.com/2007/08/guids.png" alt="Generate GUID’s" /></p>
<p>Output:</p>
<p><img src="http://xtec.files.wordpress.com/2007/08/guidoutput.png" alt="GUID Output" /></p>
<p>So I use these globally unique identifier for unique indexing my database entries.</p>
<p>I love it, so you&#8217;ll love it&#8230;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/xtec.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/xtec.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xtec.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xtec.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xtec.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xtec.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xtec.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xtec.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xtec.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xtec.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xtec.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xtec.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xtec.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xtec.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xtec.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xtec.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xtec.wordpress.com&amp;blog=1547090&amp;post=3&amp;subd=xtec&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xtec.wordpress.com/2007/08/19/the-use-of-guid-instead-of-auto-increment-index/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/61ecf4c8120db8a0f89a66ce2844c430?s=96&#38;d=identicon" medium="image">
			<media:title type="html">DnaSanD</media:title>
		</media:content>

		<media:content url="http://xtec.files.wordpress.com/2007/08/guids.png" medium="image">
			<media:title type="html">Generate GUID’s</media:title>
		</media:content>

		<media:content url="http://xtec.files.wordpress.com/2007/08/guidoutput.png" medium="image">
			<media:title type="html">GUID Output</media:title>
		</media:content>
	</item>
	</channel>
</rss>
