Click to Rate and Give Feedback
TechNet
TechNet Library
SQL Server
SQL Server 2008
Database Engine
Development
Databases

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (1)
Collapse All/Expand All Collapse All
Other versions are also available for the following:
SQL Server 2008 Books Online (October 2009)
Moving Database Files

In SQL Server, you can move system and user databases by specifying the new file location in the FILENAME clause of the ALTER DATABASE statement. Data, log, and full-text catalog files can be moved in this way. This may be useful in the following situations:

  • Failure recovery. For example, the database is in suspect mode or has shut down, because of a hardware failure.
  • Planned relocation.
  • Relocation for scheduled disk maintenance.

Topic Description

Moving User Databases

Describes the procedures for moving user database files and full-text catalog files to a new location.

Moving System Databases

Describes the procedures for moving system database files to a new location.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker