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 |
|
pvccaz
Yak Posting Veteran
87 Posts |
Posted - 2007-05-07 : 14:36:49
|
| Hi,I have the database file and log file for all the databases in SQL server in the same drive. I want to seperate both the log and data file into different drives. What is the best way to do it? Is there any script that could be run.Please help.Thanks ! |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-05-07 : 14:38:49
|
| Just detach the database, move your LDF file to wherever you want it, then attach the database but specify the new location for the LDF.Tara Kizerhttp://weblogs.sqlteam.com/tarad/ |
 |
|
|
pvccaz
Yak Posting Veteran
87 Posts |
Posted - 2007-05-07 : 18:43:07
|
| Hi Tara,I tried it out and it works !!.. Thanks so much. |
 |
|
|
|
|
|