﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / Backups  / TEMPDB space issue / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 21 May 2013 15:21:27 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: TEMPDB space issue</title><link>http://www.sqlservercentral.com/Forums/Topic999654-357-1.aspx</link><description>You can move the files, after the service has been stopped but there is no need as new ones are created</description><pubDate>Thu, 17 May 2012 00:55:10 GMT</pubDate><dc:creator>SQLDBA360</dc:creator></item><item><title>RE: TEMPDB space issue</title><link>http://www.sqlservercentral.com/Forums/Topic999654-357-1.aspx</link><description>Thanks for you reply.. but after executing this alter statement...can we do to move .mdf,.ldf to other location? or not ?</description><pubDate>Thu, 17 May 2012 00:49:11 GMT</pubDate><dc:creator>mohan.bndr</dc:creator></item><item><title>RE: TEMPDB space issue</title><link>http://www.sqlservercentral.com/Forums/Topic999654-357-1.aspx</link><description>Yes, after you're restarted the server instance. You'll know it is no longer in use when the OS allows you to delete it; as long as it's attached by SQL Server, you won't be able to.</description><pubDate>Wed, 06 Oct 2010 11:59:21 GMT</pubDate><dc:creator>Rob Schripsema</dc:creator></item><item><title>RE: TEMPDB space issue</title><link>http://www.sqlservercentral.com/Forums/Topic999654-357-1.aspx</link><description>Then the tempdb.mdf file in original D:\ drive can be deleted?</description><pubDate>Wed, 06 Oct 2010 11:48:22 GMT</pubDate><dc:creator>Ranzz</dc:creator></item><item><title>RE: TEMPDB space issue</title><link>http://www.sqlservercentral.com/Forums/Topic999654-357-1.aspx</link><description>Assuming tempdb logical names are the defaults (which they likely are):[code="sql"]USE master;GOALTER DATABASE tempdbMODIFY FILE (NAME = tempdev, FILENAME = 'H:\SQL\tempdb.mdf');  -- as in 'c:\tempdb.mdf'GOALTER DATABASE tempdbMODIFY FILE (NAME = templog, FILENAME = 'H:\SQL\templog.ldf');  -- as in 'c:\templog.ldf'[/code]After this you'll have to stop and restart your SQL instance.</description><pubDate>Wed, 06 Oct 2010 11:40:25 GMT</pubDate><dc:creator>Rob Schripsema</dc:creator></item><item><title>TEMPDB space issue</title><link>http://www.sqlservercentral.com/Forums/Topic999654-357-1.aspx</link><description>what is the alter tempdb command to move the tempd.mdf file  from D:\MSSQL2005\MSSQL$Instance\MSSQL.1\MSSQL\Data to the H:\SQL directory</description><pubDate>Wed, 06 Oct 2010 11:10:14 GMT</pubDate><dc:creator>Ranzz</dc:creator></item></channel></rss>