SQL Database User

585 pts.
Tags:
SQL
SQL Server
SQL Server 2005
SQL Server backup
SQL Server security
Hello, I have 3 servers running sql server 2005 server1, server2, and server3 with database1 and database2 respectively. I backup database1 on server1 and backup database2 on server2 then I restore database1 and database2 on server3 as read-only on a daily basis. I only want to use one sql login (user1). Can I create the sql login on server3 and copy the UID to server1 and server2 so when I restore the databases on server3 the sql login will work? Or what would be the best way to handle this?

Software/Hardware used:
SQL Server 2005
ASKED: September 14, 2009  9:22 PM
UPDATED: September 15, 2009  1:54 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Sort of.

You’ll create the login on one server. Then when you create the login on the other two servers you’ll want to specify the SID, so that when the databases are restored the SIDs match.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Rick Martinez
    Thanks again Mr.Denny that was the answer to my question.
    585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following