<?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>The Ramblings of a Geek… &#187; SQL &raquo; The Ramblings of a Geek…</title>
	<atom:link href="http://ramblinggeek.co.uk/tag/sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://ramblinggeek.co.uk</link>
	<description>Day-to-day life of a geek working with technology</description>
	<lastBuildDate>Thu, 02 Feb 2012 23:02:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MS SQL resetting the auto increment</title>
		<link>http://ramblinggeek.co.uk/2010/05/ms-sql-resetting-the-auto-increment/</link>
		<comments>http://ramblinggeek.co.uk/2010/05/ms-sql-resetting-the-auto-increment/#comments</comments>
		<pubDate>Wed, 05 May 2010 19:10:25 +0000</pubDate>
		<dc:creator>Wayne</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://ramberlinggeek.co.uk/2010/05/ms-sql-resetting-the-auto-increment/</guid>
		<description><![CDATA[DBCC CHECKIDENT(&#8216;test&#8217;, RESEED, 10001) ; where &#8216;test&#8217; is the tables name we want to reset. There is a trick if you already have some date into your table your next inserting will start from 0. I’ve tested this and it work a treat. Found here: http://weblogs.asp.net/stoianbucovich/archive/2008/03/03/ms-sql-resetting-the-auto-increment.aspx Enjoy]]></description>
			<content:encoded><![CDATA[<p>DBCC CHECKIDENT(&#8216;test&#8217;, RESEED, 10001) ; </p>
<p>where &#8216;test&#8217; is the tables name we want to reset. </p>
<p>There is a trick if you already have some date into your table your next inserting will start from 0.</p>
<p>I’ve tested this and it work a treat.</p>
<p>Found here: <a title="http://weblogs.asp.net/stoianbucovich/archive/2008/03/03/ms-sql-resetting-the-auto-increment.aspx" href="http://weblogs.asp.net/stoianbucovich/archive/2008/03/03/ms-sql-resetting-the-auto-increment.aspx">http://weblogs.asp.net/stoianbucovich/archive/2008/03/03/ms-sql-resetting-the-auto-increment.aspx</a></p>
<p>Enjoy <img src='http://ramblinggeek.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ramblinggeek.co.uk/2010/05/ms-sql-resetting-the-auto-increment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

