<?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; Denali &#8211; SEQUENCE is not IDENTITY</title>
	<atom:link href="http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 17 May 2013 15:26:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #014 &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-416525</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #014 &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Sat, 02 Feb 2013 01:31:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-416525</guid>
		<description><![CDATA[[...] SEQUENCE is not IDENTITY SQL Server 2012&#8242;s SEQUENCE is often confused with IDENTITY, which is not true. They are absolutely different and are built for different purposes. In this blog post, I explain the difference between SEQUENCE and IDENTITY. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SEQUENCE is not IDENTITY SQL Server 2012&#8242;s SEQUENCE is often confused with IDENTITY, which is not true. They are absolutely different and are built for different purposes. In this blog post, I explain the difference between SEQUENCE and IDENTITY. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohandas Pk</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-243312</link>
		<dc:creator><![CDATA[Mohandas Pk]]></dc:creator>
		<pubDate>Wed, 25 Jan 2012 07:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-243312</guid>
		<description><![CDATA[Hi,

CREATE SEQUENCE [Seq]
AS [int]
START WITH 1
INCREMENT BY 1
MAXVALUE 20000
GO
While trying to run the above sql I got the following error..
Msg 343, Level 15, State 1, Line 1
Unknown object type &#039;SEQUENCE&#039; used in a CREATE, DROP, or ALTER statement.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>CREATE SEQUENCE [Seq]<br />
AS [int]<br />
START WITH 1<br />
INCREMENT BY 1<br />
MAXVALUE 20000<br />
GO<br />
While trying to run the above sql I got the following error..<br />
Msg 343, Level 15, State 1, Line 1<br />
Unknown object type &#8216;SEQUENCE&#8217; used in a CREATE, DROP, or ALTER statement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Understanding Identity Beyond its Every Increasing Nature &#8211; Quiz &#8211; Puzzle &#8211; 3 of 31 &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-230916</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Understanding Identity Beyond its Every Increasing Nature &#8211; Quiz &#8211; Puzzle &#8211; 3 of 31 &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Wed, 04 Jan 2012 01:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-230916</guid>
		<description><![CDATA[[...] SQL Server Interview Questions and Answers ISBN: 1466405643 Page#35 @@IDENTITY vs SCOPE_IDENTITY() vs IDENT_CURRENT – Retrieve Last Inserted Identity of Record Reseed Identity of Table – Table Missing Identity Values – Gap in Identity Column Discussion – Effect of Missing Identity on System – Real World Scenario Negative Identity Seed Value and Negative Increment Interval Enable Identity Insert – Import Expert Wizard Denali – SEQUENCE is not IDENTITY [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SQL Server Interview Questions and Answers ISBN: 1466405643 Page#35 @@IDENTITY vs SCOPE_IDENTITY() vs IDENT_CURRENT – Retrieve Last Inserted Identity of Record Reseed Identity of Table – Table Missing Identity Values – Gap in Identity Column Discussion – Effect of Missing Identity on System – Real World Scenario Negative Identity Seed Value and Negative Increment Interval Enable Identity Insert – Import Expert Wizard Denali – SEQUENCE is not IDENTITY [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: julian castiblanco</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-134895</link>
		<dc:creator><![CDATA[julian castiblanco]]></dc:creator>
		<pubDate>Tue, 17 May 2011 21:31:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-134895</guid>
		<description><![CDATA[You&#039;re my master PinalDave.  How do you think about HADR in denali??

For me, It&#039;s like HA with cluster mixed with HA with Database Mirroring.]]></description>
		<content:encoded><![CDATA[<p>You&#8217;re my master PinalDave.  How do you think about HADR in denali??</p>
<p>For me, It&#8217;s like HA with cluster mixed with HA with Database Mirroring.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-120086</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Tue, 22 Feb 2011 11:46:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-120086</guid>
		<description><![CDATA[The correct table name is syslogins]]></description>
		<content:encoded><![CDATA[<p>The correct table name is syslogins</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rakesh</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-119933</link>
		<dc:creator><![CDATA[Rakesh]]></dc:creator>
		<pubDate>Mon, 21 Feb 2011 17:36:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-119933</guid>
		<description><![CDATA[SQL server stores the password in sysxlogins(master database).
Howver SQL Server creates the user&#039;s password hash before storing it]]></description>
		<content:encoded><![CDATA[<p>SQL server stores the password in sysxlogins(master database).<br />
Howver SQL Server creates the user&#8217;s password hash before storing it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vijay sharma</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-118127</link>
		<dc:creator><![CDATA[vijay sharma]]></dc:creator>
		<pubDate>Sat, 12 Feb 2011 07:45:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-118127</guid>
		<description><![CDATA[Hello sir,
                Yesterday i was in a interview &amp; she asked me question that where the SQL Server save the password ?? Kindly answer this sir.

Thanks in advance.

vijay sharma]]></description>
		<content:encoded><![CDATA[<p>Hello sir,<br />
                Yesterday i was in a interview &amp; she asked me question that where the SQL Server save the password ?? Kindly answer this sir.</p>
<p>Thanks in advance.</p>
<p>vijay sharma</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srikanth_Nallamothu</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-118010</link>
		<dc:creator><![CDATA[Srikanth_Nallamothu]]></dc:creator>
		<pubDate>Fri, 11 Feb 2011 11:35:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-118010</guid>
		<description><![CDATA[but i want sp name because i want to execute the query with short cut. goto tools -&gt; options -&gt; keyboard -&gt; place ths sp name on the corresponding short cut and click ok..
 
 advantage of this short cut is u can write the table name and select it and hold u r shortcut key..]]></description>
		<content:encoded><![CDATA[<p>but i want sp name because i want to execute the query with short cut. goto tools -&gt; options -&gt; keyboard -&gt; place ths sp name on the corresponding short cut and click ok..</p>
<p> advantage of this short cut is u can write the table name and select it and hold u r shortcut key..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srikanth_Nallamothu</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-118008</link>
		<dc:creator><![CDATA[Srikanth_Nallamothu]]></dc:creator>
		<pubDate>Fri, 11 Feb 2011 11:29:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-118008</guid>
		<description><![CDATA[thank u madhivanan]]></description>
		<content:encoded><![CDATA[<p>thank u madhivanan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RaviShankarKota</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-117587</link>
		<dc:creator><![CDATA[RaviShankarKota]]></dc:creator>
		<pubDate>Wed, 09 Feb 2011 09:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-117587</guid>
		<description><![CDATA[Can you provide an example of the same?By the way this concept is not there in earlier versions of sql server.Am i right?]]></description>
		<content:encoded><![CDATA[<p>Can you provide an example of the same?By the way this concept is not there in earlier versions of sql server.Am i right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-117585</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Wed, 09 Feb 2011 09:45:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-117585</guid>
		<description><![CDATA[Query on sysdepends table directly]]></description>
		<content:encoded><![CDATA[<p>Query on sysdepends table directly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srikanth Nallamothu</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-117212</link>
		<dc:creator><![CDATA[Srikanth Nallamothu]]></dc:creator>
		<pubDate>Tue, 08 Feb 2011 10:09:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-117212</guid>
		<description><![CDATA[CAN ANY ONE GIVE THE SOLUTION FOR THIS...
After alter the column in table or drop the table AND RECREATE IT .. sp_depends doesn&#039;t show THE DEPENDES PLEASE GIVE ME THE SOLUTION]]></description>
		<content:encoded><![CDATA[<p>CAN ANY ONE GIVE THE SOLUTION FOR THIS&#8230;<br />
After alter the column in table or drop the table AND RECREATE IT .. sp_depends doesn&#8217;t show THE DEPENDES PLEASE GIVE ME THE SOLUTION</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sure</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-117036</link>
		<dc:creator><![CDATA[sure]]></dc:creator>
		<pubDate>Mon, 07 Feb 2011 12:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-117036</guid>
		<description><![CDATA[Hi Pinal, 
      I am facing an issues in Bulk Insert with Stored Procedure. I am comparing two xml documents, based on comparison i am creating a valid xml document. After all comparisons the resultant xml should be places on sql server. here i am dealing with llarge xml files and application performance also important. please give some idea.]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
      I am facing an issues in Bulk Insert with Stored Procedure. I am comparing two xml documents, based on comparison i am creating a valid xml document. After all comparisons the resultant xml should be places on sql server. here i am dealing with llarge xml files and application performance also important. please give some idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-115400</link>
		<dc:creator><![CDATA[Peter]]></dc:creator>
		<pubDate>Mon, 31 Jan 2011 17:10:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-115400</guid>
		<description><![CDATA[We had a postgres database once upon a time and it had the sequence ability.  I always wondered why SQL never had it.  With all that said, could we see sequence as an identity replacement in certain databases?  It offers a unique id for a row not only across the table itself but across all tables.  That may provide for some benefits on the application side.]]></description>
		<content:encoded><![CDATA[<p>We had a postgres database once upon a time and it had the sequence ability.  I always wondered why SQL never had it.  With all that said, could we see sequence as an identity replacement in certain databases?  It offers a unique id for a row not only across the table itself but across all tables.  That may provide for some benefits on the application side.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramdas</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-115379</link>
		<dc:creator><![CDATA[Ramdas]]></dc:creator>
		<pubDate>Mon, 31 Jan 2011 15:11:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-115379</guid>
		<description><![CDATA[Good to know that SEQUENCE has been introduced in Denali, i think this concept existed in oracle before. The SEQUENCE can be used for key generation type scenarios.]]></description>
		<content:encoded><![CDATA[<p>Good to know that SEQUENCE has been introduced in Denali, i think this concept existed in oracle before. The SEQUENCE can be used for key generation type scenarios.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Animesh Upadhyay</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-115339</link>
		<dc:creator><![CDATA[Animesh Upadhyay]]></dc:creator>
		<pubDate>Mon, 31 Jan 2011 08:56:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-115339</guid>
		<description><![CDATA[Hi Srikanth,

Varchar data type can be defined in two ways:
1) VARCHAR(n)  where max value of &quot;n&quot; can be 8000 
2) VARCHAR(max) where &quot;max&quot; indicates that the maximum storage size is 2^31-1 bytes. The storage size is the actual length of data entered + 2 bytes. 

For ex:
-- Created temporary table #test in temp database
create table #test (test varchar(max))

--Inserted 8010 character in column test 
insert into #test values (REPLICATE(&#039;a&#039;,8010))

-- Stores more than 8000 char
select * from #test

Drop  table #test

Regards,
Animesh]]></description>
		<content:encoded><![CDATA[<p>Hi Srikanth,</p>
<p>Varchar data type can be defined in two ways:<br />
1) VARCHAR(n)  where max value of &#8220;n&#8221; can be 8000<br />
2) VARCHAR(max) where &#8220;max&#8221; indicates that the maximum storage size is 2^31-1 bytes. The storage size is the actual length of data entered + 2 bytes. </p>
<p>For ex:<br />
&#8211; Created temporary table #test in temp database<br />
create table #test (test varchar(max))</p>
<p>&#8211;Inserted 8010 character in column test<br />
insert into #test values (REPLICATE(&#8216;a&#8217;,8010))</p>
<p>&#8211; Stores more than 8000 char<br />
select * from #test</p>
<p>Drop  table #test</p>
<p>Regards,<br />
Animesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srikanth Nallamothu</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-115315</link>
		<dc:creator><![CDATA[Srikanth Nallamothu]]></dc:creator>
		<pubDate>Mon, 31 Jan 2011 03:57:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-115315</guid>
		<description><![CDATA[hello pinal

could u please solve my problem

i declared local variable with VARCHAR(MAX).
But it stores only 8000 characters.what to do to store large amount of text into a varable.

ex:
DECLARE @VAR VARCHAR(MAX)
SET @X = ‘give more than 8000 chars’
PRINT @X]]></description>
		<content:encoded><![CDATA[<p>hello pinal</p>
<p>could u please solve my problem</p>
<p>i declared local variable with VARCHAR(MAX).<br />
But it stores only 8000 characters.what to do to store large amount of text into a varable.</p>
<p>ex:<br />
DECLARE @VAR VARCHAR(MAX)<br />
SET @X = ‘give more than 8000 chars’<br />
PRINT @X</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: otis</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-115309</link>
		<dc:creator><![CDATA[otis]]></dc:creator>
		<pubDate>Mon, 31 Jan 2011 03:24:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-115309</guid>
		<description><![CDATA[Hi, I am a newbie with SQL 2008, I can&#039;t figure out  how to sort a varchar column that has numbers and alpha mixed. I need the alpha to be listed first which  contains CO1, CO2, A, B, C, then 1,2,3, 
I tried &quot;order by&quot; and the numbers are showing as 1, 10, 100 and the alpha is listed last.  Thank you for any help with this!]]></description>
		<content:encoded><![CDATA[<p>Hi, I am a newbie with SQL 2008, I can&#8217;t figure out  how to sort a varchar column that has numbers and alpha mixed. I need the alpha to be listed first which  contains CO1, CO2, A, B, C, then 1,2,3,<br />
I tried &#8220;order by&#8221; and the numbers are showing as 1, 10, 100 and the alpha is listed last.  Thank you for any help with this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nishit Mittal</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-115222</link>
		<dc:creator><![CDATA[Nishit Mittal]]></dc:creator>
		<pubDate>Sun, 30 Jan 2011 06:46:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-115222</guid>
		<description><![CDATA[It could be used for generating Alpha-numeric primary keys .]]></description>
		<content:encoded><![CDATA[<p>It could be used for generating Alpha-numeric primary keys .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yaip</title>
		<link>http://blog.sqlauthority.com/2011/01/30/sql-server-2011-sequence-is-not-identity/#comment-115195</link>
		<dc:creator><![CDATA[yaip]]></dc:creator>
		<pubDate>Sun, 30 Jan 2011 02:05:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11829#comment-115195</guid>
		<description><![CDATA[Can you give an example on where it would be used?]]></description>
		<content:encoded><![CDATA[<p>Can you give an example on where it would be used?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
