<?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>SQL Server Planet &#187; DBA</title>
	<atom:link href="http://sqlserverplanet.com/category/dba/feed" rel="self" type="application/rss+xml" />
	<link>http://sqlserverplanet.com</link>
	<description>Tips and Articles on SQL Server</description>
	<lastBuildDate>Tue, 31 Jan 2012 01:33:18 +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>Using DBCC CHECKIDENT to Reseed a Table After Delete</title>
		<link>http://sqlserverplanet.com/tsql/using-dbcc-checkident-to-reseed-a-table-after-delete</link>
		<comments>http://sqlserverplanet.com/tsql/using-dbcc-checkident-to-reseed-a-table-after-delete#comments</comments>
		<pubDate>Sun, 13 Nov 2011 23:56:39 +0000</pubDate>
		<dc:creator>Derek Dieter</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[DDL]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://sqlserverplanet.com/?p=2246</guid>
		<description><![CDATA[I imagine you are just looking for simple syntax in order to reseed the identity column of a table you just deleted from. Here is the quick version: DBCC CHECKIDENT('##reseed_example', RESEED, @max_seed) And here is an extended example: -- populate a table with identity SELECT ID = IDENTITY(int,1,1) ,name INTO ##reseed_example FROM dbo.sysobjects -- delete [...]]]></description>
		<wfw:commentRss>http://sqlserverplanet.com/tsql/using-dbcc-checkident-to-reseed-a-table-after-delete/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Indexed Views</title>
		<link>http://sqlserverplanet.com/ddl/indexed-views</link>
		<comments>http://sqlserverplanet.com/ddl/indexed-views#comments</comments>
		<pubDate>Mon, 19 Sep 2011 23:31:18 +0000</pubDate>
		<dc:creator>Derek Dieter</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[DDL]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://sqlserverplanet.com/?p=2215</guid>
		<description><![CDATA[To explain what an indexed view is, let&#8217;s first look at what constitutes a view. A view may sound like a fancy elaborate thing, however all it is, is a saved SELECT statement, nothing else. It is not explicitly compiled, nor does it contain any data. When you select from a view, it goes to [...]]]></description>
		<wfw:commentRss>http://sqlserverplanet.com/ddl/indexed-views/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto Update Statistics &amp; Auto Create Statistics</title>
		<link>http://sqlserverplanet.com/query-optimizer/auto-update-statistics-auto-create-statistics</link>
		<comments>http://sqlserverplanet.com/query-optimizer/auto-update-statistics-auto-create-statistics#comments</comments>
		<pubDate>Mon, 19 Sep 2011 21:18:29 +0000</pubDate>
		<dc:creator>Derek Dieter</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[Query Optimizer]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://sqlserverplanet.com/?p=2208</guid>
		<description><![CDATA[The ability to create and update statistics is a crucial liberty for the query optimizer. The optimizer needs to know how it is going to query underlying tables, and when the statistics do not match the data, it is very probable that it will choose a non-efficient method for querying. I&#8217;ve seen and heard a [...]]]></description>
		<wfw:commentRss>http://sqlserverplanet.com/query-optimizer/auto-update-statistics-auto-create-statistics/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using DBCC UPDATEUSAGE</title>
		<link>http://sqlserverplanet.com/query-optimizer/using-dbcc-updateusage</link>
		<comments>http://sqlserverplanet.com/query-optimizer/using-dbcc-updateusage#comments</comments>
		<pubDate>Fri, 16 Sep 2011 23:18:36 +0000</pubDate>
		<dc:creator>Derek Dieter</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[Query Optimizer]]></category>

		<guid isPermaLink="false">http://sqlserverplanet.com/?p=2203</guid>
		<description><![CDATA[When DBCC UpdateUsage is run, page and row counts are updated. When this information is incorrect, it can give incorrect reports for how much space is used by tables and indexes. The most likely cause for incorrect usage stats is when a database is upgraded to a new compatibility level of SQL Server (i.e. 2000 [...]]]></description>
		<wfw:commentRss>http://sqlserverplanet.com/query-optimizer/using-dbcc-updateusage/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using IDENTITY_INSERT</title>
		<link>http://sqlserverplanet.com/dba/using-identity_insert</link>
		<comments>http://sqlserverplanet.com/dba/using-identity_insert#comments</comments>
		<pubDate>Fri, 16 Sep 2011 21:19:40 +0000</pubDate>
		<dc:creator>Derek Dieter</dc:creator>
				<category><![CDATA[DBA]]></category>

		<guid isPermaLink="false">http://sqlserverplanet.com/?p=2200</guid>
		<description><![CDATA[The only way to insert values into a field that is defined as an &#8220;IDENTITY&#8221; (or autonumber) field, is to set the IDENTITY_INSERT option to &#8220;ON&#8221; prior to inserting data into the table. To illustrate, let&#8217;s create a table that has an identity column defined. -- Create table with identity column CREATE TABLE MyOrders ( [...]]]></description>
		<wfw:commentRss>http://sqlserverplanet.com/dba/using-identity_insert/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

