<?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>Bee Eee Blog &#187; mmsql</title>
	<atom:link href="http://blog.bee-eee.com/tag/mmsql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bee-eee.com</link>
	<description>-- C# hints and tips</description>
	<lastBuildDate>Wed, 23 Dec 2009 19:00:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>MS SQL Delete all the data from the tables.</title>
		<link>http://blog.bee-eee.com/2008/11/21/ms-sql-delete-all-the-data-from-the-tables/</link>
		<comments>http://blog.bee-eee.com/2008/11/21/ms-sql-delete-all-the-data-from-the-tables/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 18:24:45 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[mmsql]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://blog.bee-eee.com/?p=54</guid>
		<description><![CDATA[Here&#8217;s a helpful, and perhaps dangerous, little tidbit of code for SQL Server 2005. It deletes all of the data from all of the tables. To be completely effective, the command may need to be run more than once because of foreign keys. Basically run it until there aren&#8217;t any errors. Then the db is [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a helpful, and perhaps dangerous, little tidbit of code for SQL Server 2005.  It deletes all of the data from all of the tables.  To be completely effective, the command may need to be run more than once because of foreign keys.  Basically run it until there aren&#8217;t any errors.  Then the db is clean and empty of all data.</p>
<p><code>exec sp_MSForeachTable "delete from ?"</code></p>
<p>the sp_MSForeachTable is a very useful system stored procedure.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bee-eee.com/2008/11/21/ms-sql-delete-all-the-data-from-the-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
