Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

can't attach database in SQL Server 2000, says it's in use

Posted on 2013-06-21
1
Medium Priority
?
255 Views
Last Modified: 2013-06-21
Okay, I can see my database but it has become unattached from SQL.  I tried to attach it, but it says it's in use by another person or program.  Rebooting didn't help.  Also tried to stop SQL services and copy file .. .same error.  Any ideas?

thanks in advance.

kennM
0
Comment
Question by:kennmurrah
1 Comment
 
LVL 20

Accepted Solution

by:
Peter Hutchison earned 2000 total points
ID: 39266127
Refresh the display in Enterprise Manager and then check each of the database properties to check that it hasn't already been attached as a different database name.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have a large data set and a SSIS package. How can I load this file in multi threading?
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question