<?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/"
	>

<channel>
	<title>Kurinchi Blogger Scribbles ... &#187; guid</title>
	<atom:link href="http://kurinchilamp.kurinchilion.com/tag/guid/feed" rel="self" type="application/rss+xml" />
	<link>http://kurinchilamp.kurinchilion.com</link>
	<description>On Open Source Technologies</description>
	<lastBuildDate>Mon, 02 Jan 2012 06:14:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>GUID: Meaning and its application</title>
		<link>http://kurinchilamp.kurinchilion.com/2009/11/guid-meaning-and-its-application.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2009/11/guid-meaning-and-its-application.html#comments</comments>
		<pubDate>Thu, 19 Nov 2009 22:15:53 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[globally unique identifier]]></category>
		<category><![CDATA[guid]]></category>
		<category><![CDATA[guid pattern]]></category>
		<category><![CDATA[guid sql server]]></category>
		<category><![CDATA[guid version]]></category>
		<category><![CDATA[mysql uuid]]></category>
		<category><![CDATA[regular expression]]></category>
		<category><![CDATA[universal unique identifier]]></category>
		<category><![CDATA[uuid]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=720</guid>
		<description><![CDATA[GUID stands for &#8220;Global Unique Identifier&#8221; and is a term usually referring to Microsoft&#8217;s implementation of unique identity number (in a distributed environment) that it generates to identify different entities such documents, COM&#8217;s, DLL&#8217;s, interfaces, records, and other objects. It is also known as UUID &#8211; Universal Unique Identifier interchangeably. GUID implemenation is a 128 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>GUID</strong> stands for &#8220;Global Unique Identifier&#8221; and is a term usually referring to Microsoft&#8217;s implementation of unique identity number (in a distributed environment) that it generates to identify different entities such documents, COM&#8217;s, DLL&#8217;s, interfaces, records, and other objects. It is also known as <strong>UUID &#8211; Universal Unique Identifier </strong>interchangeably.</p>
<p><em>GUID</em> implemenation is a 128 bit (16 byte) value consisting of sets of hexadecimal digits separated by hyphens. As the total number of unique keys is large the probability of two numbers being the same is very small.</p>
<p>The AutoNumber datatype in MS-Access and the Identity datatype in SQL Server is a GUID implementation.<br />
<span id="more-720"></span><br />
<strong>Sample GUID in HEX notation</strong><br />
{aeb07ea0-7e70-<strong>1</strong>1d0-a5d6-28db04c103004}<br />
It is a combination of characters and numbers in the sequence of 8-4-4-4-12 hex digits</p>
<p>The above notation is a <strong>version 1 GUID</strong>. How do we find that? It is the first character in the third group of hex digits highlighted.</p>
<p><strong>What do these version numbers carry?</strong><br />
1 &#8211; Time-based with unique or random host identifier<br />
2 &#8211; DCE Security version POSIX UIDs<br />
3 &#8211; Name-based using MD5 hash<br />
4 &#8211; Random generation<br />
5 &#8211; Name-based using SHA-1 hash</p>
<p><strong>UUID in MySQL</strong></p>
<p>mysql> select uuid();<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br />
| uuid()                               |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br />
| 3fad8d9b-d55a-11de-82ee-a0651a5457b9 |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br />
1 row in set (0.00 sec)</p>
<p><em>The above example is given to help programmers use a similar pattern when migrating data from sql server to mysql.</em></p>
<p>Look in the <a href="http://www.ietf.org/rfc/rfc4122.txt">RFC 8122</a> for UUID URI namespace.</p>
<p>In programming, the regular expression to check for a valid GUID pattern is given below<br />
<strong>[0-9A-Z]{8}-[0-9A-Z]{4}-[0-9A-Z]{4}-[0-9A-Z]{4}-[0-9A-Z]{12}</strong></p>
<p><strong>News</strong><br />
<a href="http://www.junkbusters.com/ht/en/microsoft.html">Interesting read on GUID and Privacy</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2009/11/guid-meaning-and-its-application.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

