Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2003-10-27 : 08:18:03
|
| Renee writes "I am new to SQL Server and I set up a new database. Our data and log files are on the c drive. Our server is partioned with c and d and the c drive doesn't have much room left. The d drive is where I should have set it up. How do I move my data and log files from c to d. Thanks in advanced for your response,Renee" |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2003-10-27 : 11:37:28
|
| You can use sp_detach_db move the files and sp_attach_db - backup the databases first.That won't work for system databases but should free up the room.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
|
|
|