<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to move MDF/NDF for a Replicated Database</title><link>http://blogs.msdn.com/b/repltalk/archive/2010/11/29/how-to-move-mdf-ndf-for-a-replicated-database.aspx</link><description>How to move MDF/NDF for a Replicated Database Chris Skorlinski Microsoft SQL Server Escalation Services Here is another customer question about Replication I thought worth sharing. I am using SQL Server 2008 64 bits. I have to change the location of the</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How to move MDF/NDF for a Replicated Database</title><link>http://blogs.msdn.com/b/repltalk/archive/2010/11/29/how-to-move-mdf-ndf-for-a-replicated-database.aspx#10098017</link><pubDate>Mon, 29 Nov 2010 22:15:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10098017</guid><dc:creator>Ben Thul</dc:creator><description>&lt;p&gt;It should be noted that that doesn&amp;#39;t actually move the physical file, but it modifies the system catalogs to look in the new location the next time the database is started. &amp;nbsp;In order to move the physical file, you can do &amp;#39;alter database &amp;lt;db_name&amp;gt; set offline&amp;#39;, move the file, and then &amp;#39;alter database &amp;lt;db_name&amp;gt; set online&amp;#39;.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10098017" width="1" height="1"&gt;</description></item></channel></rss>