Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2002-07-30 : 09:32:03
|
| writes "I cant restore a database I just backedup SQL Server is giving me an error that I dont have the exclusive access.DO I need to Make the DB offline or detach it before I go for the Restoring process" |
|
|
solart
Posting Yak Master
148 Posts |
Posted - 2002-07-30 : 11:22:11
|
| There can be no users in a database when you need to restore it.For SQL 2000 you can get exclusive control by doing the following:alter database 'pubs'set restricted_user with rollback immediateHTHs solart |
 |
|
|
|
|
|