<?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>7deeds &#187; sql-server</title>
	<atom:link href="http://blog.7deeds.com/tag/sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.7deeds.com</link>
	<description>Petros Amiridis - A humble programmer's seven noteworthy actions for the community</description>
	<lastBuildDate>Mon, 31 May 2010 12:09:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Restore an MSSQL backup to a different database name</title>
		<link>http://blog.7deeds.com/2008/12/24/restore-an-mssql-backup-to-a-different-database-name/</link>
		<comments>http://blog.7deeds.com/2008/12/24/restore-an-mssql-backup-to-a-different-database-name/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 12:35:07 +0000</pubDate>
		<dc:creator>Petros</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[sql-server]]></category>

		<guid isPermaLink="false">http://blog.7deeds.com/?p=78</guid>
		<description><![CDATA[I had a database backup and was trying to restore it but to a different database name than that from where it was backed up.

Let&#8217;s say you backed up MyDB and you want to restore it to MyNewDB. You can run the following TSQL:

Of course, the paths and the names of the database should be [...]]]></description>
			<content:encoded><![CDATA[<p>I had a database backup and was trying to restore it but to a different database name than that from where it was backed up.<br />
<span id="more-78"></span><br />
Let&#8217;s say you backed up MyDB and you want to restore it to MyNewDB. You can run the following TSQL:</p>
<p><script src="http://gist.github.com/131163.js"></script></p>
<p>Of course, the paths and the names of the database should be changed according to your needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.7deeds.com/2008/12/24/restore-an-mssql-backup-to-a-different-database-name/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
