Solved

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

Posted on 2013-06-21
1
246 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 19

Accepted Solution

by:
Peter Hutchison earned 500 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linked Server Issue with SQL2012 3 26
Query Help - MSSQL - Averages 5 27
SQL Improvement  ( Speed) 14 27
Need help constructing a conditional update query 16 43
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

770 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