在我的机器上安装MS sql Server 2008后不久,我忘记了我选择的密码和用户名.我该如何重置它们?
This question似乎很有希望,但它对我不起作用.
当我尝试执行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.