|
With the announced deprecation of
Edit: Matt Whitfield pointed out I should have been talking about ALTER USER. My bad!
(comments are locked)
|
|
You want to use ALTER USER, rather than ALTER LOGIN. The equivalent would be Matt: you're right I meant to write ALTER USER in the question, but had 'login' in my mind. Derren Brown eat your heart out.
Oct 12 '09 at 04:15 PM
Kev Riley ♦♦
Definately helped me figure out what I needed to change in a dynamic routine. Thanks.
Mar 16 '10 at 12:44 PM
Lynn Pettis
(comments are locked)
|
|
From BOL, in SQL Server 2008 you can use the WITH LOGIN option of ALTER USER in order to fix an orphaned user. This functionality is also available in 2005. I'm not sure WITH LOGIN is new to 2008 - http://technet.microsoft.com/en-us/library/ms176060(SQL.90).aspx ...
Oct 12 '09 at 02:09 PM
Matt Whitfield ♦♦
You're correct. I'm still on RTM BOL after rebuilding my workstation. Thanks.
Oct 12 '09 at 02:58 PM
Tim Benninghoff
(comments are locked)
|

