SQL Server 2005 ‘alter user’

290 pts.
Tags:
Alter user
SQL Server 2005
SQL Server errors
Hello, I have been trying to run the following instruction in QA use database_name alter user db_user_name with login = [domainlogin_name] but keep getting the error Msg 102, Level 15, State 1, Line 3 Incorrect syntax near 'login'. I know this method exist in SQL Server 2005, are any of you able to run the same instruction on your SQL Server 2005? I been trying to google this error and have ask other developer for along time but can't get the answer. Any help will be extremely appreciative.

Answer Wiki

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

Isn’t the syntax for this ‘alter user mydbname with name=mynewusername?

Discuss This Question:  

 
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

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