SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 cannot delete mdf/ldf files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

robertnzana
Starting Member

42 Posts

Posted - 06/02/2008 :  18:58:50  Show Profile  Reply with Quote
when i try to delete my mdf/ldf files I get the message that "it is being used by another person or program."

sql server enterprise manager is closed.

i assume it's probably the resident mssql server process. is there anyway to delete the files without stopping this process (because other websites are using db's on this server)?

thanks!

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

USA
7020 Posts

Posted - 06/02/2008 :  19:28:01  Show Profile  Reply with Quote
You have to drop the database that those files are for.

Be sure that is what you want; when you drop a database, it is gone. It is a good idea to make a backup of the database before you drop it, just in case.



CODO ERGO SUM
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000