Move C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data to D Drive

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi

Can you help me, I wish to achieve the following all on a single
server running SQL server 2005:

* Move everything under C:\Program Files\Microsoft SQL Server\MSSQL.
1\MSSQL\Data to D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL
\Data (which will be a new folder).

* Make sure all new databases get placed in D:\Program Files\Microsoft
SQL Server\MSSQL.1\MSSQL\Data by default.

I realise I could use detact/attach every single database, but is
there a way to move the whole folder? I've looked for white papers/
technet articles but didn't have much joy....

Many thanks for your help in advance....

.



Relevant Pages

  • SQL Performance counters missing on Cluster
    ... I am having a cluster box win 2000 Advance server running Sql server in ... Active/Passive mode. ... But i cannot see any of the Sql related Performance Counters in PerfMon. ...
    (microsoft.public.sqlserver.clustering)
  • Login stoped working with install of Visual Studio
    ... Last weekend I finally connected a workstation to a server running SQL with ... SqlConnection mySqlConnection = new SqlConnection; ... System.Data.SqlClient.SqlException: SQL Server does not exist or access ...
    (microsoft.public.sqlserver.security)
  • Re: Remote Access to SQL apps
    ... > accessing SQL apps remotely - ie remote offices ... network traffic remains local to server running SQL Server and you need to ... WAN activity. ...
    (microsoft.public.sqlserver.setup)
  • Re: Windows Authentication
    ... database using SQL Authentication. ... server running SQL 2000 and would like to use Windows Authentication, ... I would like to have my application logon like Microsoft Outlook. ...
    (microsoft.public.sqlserver.security)
  • Re: SQL Performance counters missing on Cluster
    ... Andrew J. Kelly SQL MVP ... > I am having a strange problem. ... > I am having a cluster box win 2000 Advance server running Sql server in ... > But i cannot see any of the Sql related Performance Counters in PerfMon. ...
    (microsoft.public.sqlserver.clustering)