Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Move tempdb database.

Author  Topic 

admin001
Posting Yak Master

166 Posts

Posted - 2002-08-14 : 04:41:38
Hello ,

I want to move my tempdb database to another drive by moving the mdf and ldf files . Is it possible to shift the tempdb once it is created ?
I am shifting the database since there is no space on the current drive and the database might grow in the near furure .

Any ideas ???

Thanks .

nr
SQLTeam MVY

12543 Posts

Posted - 2002-08-14 : 05:31:12
run an alter database on tempdb to modify the file.
Then restart the server and it should recreate it at that location

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

jasper_smith
SQL Server MVP & SQLTeam MVY

846 Posts

Posted - 2002-08-14 : 06:48:43
See [url]http://support.microsoft.com/default.aspx?scid=kb;EN-US;q224071[/url]


HTH
Jasper Smith
Go to Top of Page
   

- Advertisement -