Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已禁用 SA 用户并将其重命名为“sysadmin”,但现在我将“sysadmin”视为禁用用户并希望启用它。我尝试使用 Windows 身份验证登录,但在启用“sysadmin”时没有给我权限错误。
您不能启用或禁用用户,但可以启用与该用户相关的登录。
Alter login sysadmin enable