Re: Permission to restore databases and access them without being
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Mon, 11 Aug 2008 14:26:35 -0700
"Charles Wang [MSFT]" (changliw@xxxxxxxxxxxxxxxxxxxx) writes:
The RESTORE seemed failed, right? However it was not true. The database
was actually restored even with this error message. The problem was that
the current user could not be created in the newly restored database.
However you can manually assign the permissions with a sysadmin account.
There were no data loss based on my observation.
Later I decided that I could have use for that database on that server,
so I restored it as sa. And got no error message that it was already
there.
I should add that I ran this test on SQL 2000, as that was the server
version Lena asked about.
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- Follow-Ups:
- Re: Permission to restore databases and access them without being
- From: "Charles Wang [MSFT]"
- Re: Permission to restore databases and access them without being
- References:
- Permission to restore databases and access them without being sysa
- From: LenaMsdn08
- Re: Permission to restore databases and access them without being sysa
- From: Erland Sommarskog
- Re: Permission to restore databases and access them without being
- From: LenaMsdn08
- Re: Permission to restore databases and access them without being
- From: "Charles Wang [MSFT]"
- Re: Permission to restore databases and access them without being
- From: Erland Sommarskog
- Re: Permission to restore databases and access them without being
- From: "Charles Wang [MSFT]"
- Permission to restore databases and access them without being sysa
- Prev by Date: Re: What commands can a user execute
- Next by Date: Facing the same problem
- Previous by thread: Re: Permission to restore databases and access them without being
- Next by thread: Re: Permission to restore databases and access them without being
- Index(es):
Relevant Pages
|