Quantcast
Channel: Windows Server – Yusuf Ozturk
Viewing all articles
Browse latest Browse all 127

How to remove Restricted User warning after MSSQL database restore

$
0
0
You may get Restricted User warning after a database restore if source database is MSSQL Server 2005. You can remove that warning by this SQL query: ALTER DATABASE Your_Database SET SINGLE_USER WITH ROLLBACK IMMEDIATE GO ALTER DATABASE Your_Database SET MULTI_USER GO After that, there will be no warning on your database.

Viewing all articles
Browse latest Browse all 127

Trending Articles