在我安装了MS SQL Server 2008后,我忘记了我选择的密码和用户名。我该如何重置它们?
这个问题看起来很有希望,但对我没有用。
当我尝试使用exec sp_password @new='changeme', @loginame='sa'
作为查询时,我收到了以下信息:
Msg 15151, Level 16, State 1, Line 1
Cannot alter the login 'sa', because it does not exist or you do not have permission.