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 |
|
jfrick
Starting Member
2 Posts |
Posted - 2008-06-09 : 12:49:04
|
| Hello AllI have a SQL 2005 server I inherited and am trying to clean up. I am unable to delete some log files. The databases they were associated with do not exist in sysdatabases. However, when I try to delete them I get the message they are in use. There are no other instances attached to this server.Any help is appreciated. |
|
|
mcrowley
Aged Yak Warrior
771 Posts |
Posted - 2008-06-09 : 15:24:40
|
| Check to see if these files exist in sys.master_files. If they do not, they can be deleted after SQL Server is restarted. Patch Tuesday is tomorrow, so you should be able to squeeze in a reboot in the next few weeks. |
 |
|
|
jfrick
Starting Member
2 Posts |
Posted - 2008-06-09 : 16:10:43
|
| Thanks...I'll give it a try |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-06-09 : 22:43:07
|
| Keep in mind that not every db file has name related to db name. |
 |
|
|
|
|
|