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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment