brett's blog
Tech notes from the field
Pages
Home
Monday, May 26, 2008
Moving tempdb
To move the data files for tempdb use the following:
USE master
GO
ALTER DATABASE tempdb
MODIFY FILE (NAME = 'tempdev'
, FILENAME = 'path_and_filename.mdf')
GO
ALTER DATABASE tempdb
MODIFY FILE (NAME = 'templog'
, FILENAME = 'path_and_filename.ldf >')
GO
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)