SQL Database - SQL Instance

I'm trying to move some old database to an archive folder.  However, when I do this it kept saying that it is being use.  I can't seem to find them in the SQL instance that they should be.  They had already been detached.  Is there a tool that can help me locate which SQL Instance still has it on?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

holemaniaAuthor Commented:
Thanks but I can't still find it.  The article said to look in Task Manager for the SQL process which I did, but it only show the one on the SQL Server I'm on.  Looking at services, there's only one and it's the same one on the SQL Server.

If someone connect/link to this SQL instance and have it open, would that prevent me from moving the database?  Even after detaching it from the server?

Try Denying  user/login access
Do a Profiler trace
Scott PletcherSenior DBACommented:
>> If someone connect/link to this SQL instance and have it open, would that prevent me from moving the database? <<

By default, yes, but you can override that and force them off.

>> Even after detaching it from the server? <<

At that point, no.  Once the db is detached from SQL, SQL has no locks on the files, and you can copy/move the files, barring any *Windows* locks on them from someone doing something at the file level.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
holemaniaAuthor Commented:
Thanks guys.  Did a reboot of the server and afterward was able to remove them.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2005

From novice to tech pro — start learning today.