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
Posted by BRM013 at Monday, May 26, 2008 No comments:
Labels: SQL Server
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blogs

Subscribe To

Posts
Atom
Posts
All Comments
Atom
All Comments

Archive

  • ►  2017 (2)
    • ►  February (1)
    • ►  January (1)
  • ►  2015 (1)
    • ►  May (1)
  • ►  2014 (1)
    • ►  March (1)
  • ►  2013 (5)
    • ►  September (3)
    • ►  April (1)
    • ►  February (1)
  • ►  2012 (6)
    • ►  April (3)
    • ►  March (2)
    • ►  January (1)
  • ►  2011 (2)
    • ►  May (1)
    • ►  April (1)
  • ►  2010 (1)
    • ►  April (1)
  • ▼  2008 (12)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ▼  May (1)
      • Moving tempdb
    • ►  April (3)
    • ►  March (5)

Tags

Sql SharePoint 2010 SharePoint 2013 Performance Tuning SQL Server Angular2 Contoso VHD Searching TypeScript Web Services Anonymous Access Client side rendering Content Types Custom CSS Debugging FileSaver Markup Styles Master Page Gallery Permissions Poweshell REST RxJS SMO SPD 2013 Search SharePoint 2010 Search User Profile Sync VirtualBox Workflow Workflow Manager 1.0 XSLT
Simple theme. Powered by Blogger.