<?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>DBCC CHECKIDENT &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/dbcc-checkident/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Fri, 22 Sep 2017 21:59:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.6</generator>
	<item>
		<title>SQL Server: Script to reset Table Identity using DBCC CHECKIDENT</title>
		<link>https://www.dbrnd.com/2015/10/sql-server-script-to-reset-table-identity-using-dbcc-checkident/</link>
					<comments>https://www.dbrnd.com/2015/10/sql-server-script-to-reset-table-identity-using-dbcc-checkident/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Tue, 13 Oct 2015 19:27:41 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[DBCC CHECKIDENT]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server Administrator]]></category>
		<category><![CDATA[SQL Server Monitoring]]></category>
		<category><![CDATA[SQL Server Performance Tunning]]></category>
		<category><![CDATA[SQL Server Tips and Tricks]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=852</guid>

					<description><![CDATA[In this post, I am sharing an important DBCC command to reset or change the current value of Table Identity Column in SQL Server. I found that this is a most famous question from SQL Server Professional, so I am also interested in writing a small note on this. Using DBCC CHECKIDENT, you can reseed [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-reset-table-identity-using-dbcc-checkident%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20reset%20Table%20Identity%20using%20DBCC%20CHECKIDENT" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-reset-table-identity-using-dbcc-checkident%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20reset%20Table%20Identity%20using%20DBCC%20CHECKIDENT" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-reset-table-identity-using-dbcc-checkident%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20reset%20Table%20Identity%20using%20DBCC%20CHECKIDENT" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-reset-table-identity-using-dbcc-checkident%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20reset%20Table%20Identity%20using%20DBCC%20CHECKIDENT" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-reset-table-identity-using-dbcc-checkident%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20reset%20Table%20Identity%20using%20DBCC%20CHECKIDENT" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-reset-table-identity-using-dbcc-checkident%2F&amp;linkname=SQL%20Server%3A%20Script%20to%20reset%20Table%20Identity%20using%20DBCC%20CHECKIDENT" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fsql-server-script-to-reset-table-identity-using-dbcc-checkident%2F&#038;title=SQL%20Server%3A%20Script%20to%20reset%20Table%20Identity%20using%20DBCC%20CHECKIDENT" data-a2a-url="https://www.dbrnd.com/2015/10/sql-server-script-to-reset-table-identity-using-dbcc-checkident/" data-a2a-title="SQL Server: Script to reset Table Identity using DBCC CHECKIDENT"></a></p><p>In this post, I am sharing an important DBCC command to reset or change the current value of Table Identity Column in SQL Server.</p>
<p>I found that this is a most famous question from SQL Server Professional, so I am also interested in writing a small note on this.</p>
<blockquote><p>Using DBCC CHECKIDENT, you can reseed the identity value of the table.<br />
For example, Your table has total 268 rows, and the last id is 268 and now if you want to skip some identity values for the next couple of insertion and require next id value as a 302.</p></blockquote>
<p>You can use below the command to perform the above exercise.</p>
<pre class="crayon-plain-tag">DBCC CHECKIDENT (yourtable, reseed, 301)</pre> </p>
<p>After executing the above command, you will find next inserted id is:302.</p>
<p><a href="https://msdn.microsoft.com/en-us/library/ms176057.aspx" target="_blank">You can find more details on Microsoft Official Page.</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2015/10/sql-server-script-to-reset-table-identity-using-dbcc-checkident/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
