<?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/"
	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>Comments on: SQL SERVER &#8211; 2005 &#8211; Difference and Similarity Between NEWSEQUENTIALID() and NEWID()</title>
	<atom:link href="http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:54:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: dku</title>
		<link>http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-57592</link>
		<dc:creator>dku</dc:creator>
		<pubDate>Fri, 13 Nov 2009 11:55:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-57592</guid>
		<description>oh, so good.</description>
		<content:encoded><![CDATA[<p>oh, so good.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dku</title>
		<link>http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-57591</link>
		<dc:creator>dku</dc:creator>
		<pubDate>Fri, 13 Nov 2009 11:54:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-57591</guid>
		<description>this is good.</description>
		<content:encoded><![CDATA[<p>this is good.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ygal</title>
		<link>http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-50910</link>
		<dc:creator>ygal</dc:creator>
		<pubDate>Mon, 13 Apr 2009 04:19:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-50910</guid>
		<description>can i use newid() to bring me top 4  random row in xml  explicit and

example


        
              
              
              
               
        
         
              
              
              
               
        
         
              
              
              
               
        



I Tried to create this but without all success if will be able to help me I will be very grateful</description>
		<content:encoded><![CDATA[<p>can i use newid() to bring me top 4  random row in xml  explicit and</p>
<p>example</p>
<p>I Tried to create this but without all success if will be able to help me I will be very grateful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi Shankar</title>
		<link>http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-49387</link>
		<dc:creator>Ravi Shankar</dc:creator>
		<pubDate>Wed, 18 Mar 2009 09:24:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-49387</guid>
		<description>I am using NewId() to retrieve random records ..Is it correct?
May I know how this function works?

with regards,
 Ravi Shankar</description>
		<content:encoded><![CDATA[<p>I am using NewId() to retrieve random records ..Is it correct?<br />
May I know how this function works?</p>
<p>with regards,<br />
 Ravi Shankar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: senthil</title>
		<link>http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-47848</link>
		<dc:creator>senthil</dc:creator>
		<pubDate>Mon, 02 Mar 2009 11:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-47848</guid>
		<description>Hi,

How to get the last inserted NEWSEQUENTIALID()

Senthil</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>How to get the last inserted NEWSEQUENTIALID()</p>
<p>Senthil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQLAuthority News - Best Articles on SQLAuthority.com Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-47238</link>
		<dc:creator>SQLAuthority News - Best Articles on SQLAuthority.com Journey to SQL Authority with Pinal Dave</dc:creator>
		<pubDate>Tue, 24 Feb 2009 12:10:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-47238</guid>
		<description>[...] SQL SERVER - 2005 - Difference and Similarity Between NEWSEQUENTIALID() and NEWID() [...]</description>
		<content:encoded><![CDATA[<p>[...] SQL SERVER &#8211; 2005 &#8211; Difference and Similarity Between NEWSEQUENTIALID() and NEWID() [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JAG</title>
		<link>http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-45211</link>
		<dc:creator>JAG</dc:creator>
		<pubDate>Tue, 30 Dec 2008 23:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-45211</guid>
		<description>Jerry,

Instead of relying sql server to insert the identity for you or on scope_identity() to get its corresponding value, just use a temporary variable to hold it and insert it yourself.

Example:

DECLARE @mynewid uniqueidentifier;

-- choose one of the following
SET @mynewid = newid()
SET @mynewid = newsequentialid()

INSERT INTO MyTable(@mynewid, &#039;other fields&#039;,....)</description>
		<content:encoded><![CDATA[<p>Jerry,</p>
<p>Instead of relying sql server to insert the identity for you or on scope_identity() to get its corresponding value, just use a temporary variable to hold it and insert it yourself.</p>
<p>Example:</p>
<p>DECLARE @mynewid uniqueidentifier;</p>
<p>&#8211; choose one of the following<br />
SET @mynewid = newid()<br />
SET @mynewid = newsequentialid()</p>
<p>INSERT INTO MyTable(@mynewid, &#8216;other fields&#8217;,&#8230;.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Nixon</title>
		<link>http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-42362</link>
		<dc:creator>Jerry Nixon</dc:creator>
		<pubDate>Wed, 03 Sep 2008 17:02:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-42362</guid>
		<description>How do I retrieve what the new id is? Usualy, I would use scope_itendity() to get what the record&#039;s id is. But scope_identity() data type is integer, not guid. Is there a new scope_identity()-equiv method in SQL?</description>
		<content:encoded><![CDATA[<p>How do I retrieve what the new id is? Usualy, I would use scope_itendity() to get what the record&#8217;s id is. But scope_identity() data type is integer, not guid. Is there a new scope_identity()-equiv method in SQL?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ram Anam</title>
		<link>http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-30489</link>
		<dc:creator>Ram Anam</dc:creator>
		<pubDate>Mon, 31 Dec 2007 08:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-30489</guid>
		<description>Hi,

What are the performance gain for 
uniqueidentifier column with  NEWSEQUENTIALID()  as DEFAULT VALUE and NON CLUSTURED INDEX
against
uniqueidentifier column with  NEWID()  as DEFAULT VALUE and NON CLUSTURED INDEX

Thank-you.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>What are the performance gain for<br />
uniqueidentifier column with  NEWSEQUENTIALID()  as DEFAULT VALUE and NON CLUSTURED INDEX<br />
against<br />
uniqueidentifier column with  NEWID()  as DEFAULT VALUE and NON CLUSTURED INDEX</p>
<p>Thank-you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rana</title>
		<link>http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-13397</link>
		<dc:creator>Rana</dc:creator>
		<pubDate>Thu, 20 Sep 2007 15:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/16/sql-server-2005-difference-and-similarity-between-newsequentialid-and-newid/#comment-13397</guid>
		<description>Good One</description>
		<content:encoded><![CDATA[<p>Good One</p>
]]></content:encoded>
	</item>
</channel>
</rss>
