Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL 6 Database in Use but it isn't

Status
Not open for further replies.

moonshadow

Programmer
Joined
Oct 9, 2001
Messages
181
Location
GB
We have a SQL 6.0 system (Ok, stop laughing). It has a database on it called PMIS_Customer which gets restored each night from a backup copied from another server by a scheduling system (Ashwin). For the last week it has failed every night complaining that the 'database is in use by other users'. I get the same message during the day when I try and perform a restore, drop or set to single user mode. I cannot find any users that are in the database, using sp_who or activity monitor, although there are users connected to the server. The only solutions I've found are to either stop/start SQL (can't do that again), or use sp_MSKillDB to delete the database entirely & then recreate it. I'm not too keen to do this in the schedule - it seems a bit reckless. Has ANYONE got any ideas ?
 
Found that this is a 'known fault'. See MS knowledgebase Q147830.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top