• vsamantha35 (9/13/2015)


    Hi All,

    What does the command do or what does it mean? When do we use it?

    Alter login [<loginname>] with name = [<loginname>];

    Thanks in advance.

    The command changes a SQL Server login. The option name specifies the new name for the login. Essentially, it renames the login.

    https://msdn.microsoft.com/en-us/library/ms189828%28v=sql.100%29.aspx