1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

SQL server 2000

Discussion in 'Business Applications' started by wakanai, Sep 15, 2003.

Thread Status:
Not open for further replies.
  1. wakanai

    wakanai Thread Starter

    Jul 9, 2003
    I have a program that uses SQL server 2000 for the database in drive C: I would like to move everything to drive D: without loses of data. Any suggestions.. Thank You :confused:
  2. jmctech


    May 16, 2007
    Back up your database to a file on your D drive.
    Create the folder d:\mssql\data and d:\mssql\logs.
    Right click on the databases node under your server node in enterprise manager and choose all tasks - restore database - from device - locate your backup file.
    Click OK to go all the way back to the initial restore database wizard screen.
    At the top 'Restore database as' - enter a new name for your database.
    Switch to the options tab, you can see the physical filepaths you are going to create for your data and log file(s) - overtype here with d:\mssql\data\filename.mdf for your data file and d:\mssql\logs\filename.ldf for your log file(s).
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/164897

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice