Log on to the SQL Server computer as the administrator of this computer. Open Query Analyzer and connect to SQL Server using Windows NT authentication. Run sp_password, as shown below, to reset the sa password:
sp_password @new = 'will_never_forget_again', @loginame = 'sa'
EDIT:
, db,
. , :
... sp_password. , ,
, ?
, SQLCMD GO, :
SP_PASSWORD @NEW = 'my_password', @loginame = 'sa'
GO
, .
, . :
C:\sqlcmd -E -d master
:
SELECT suser_sname(), user_name()
GO
, , :
ALTER LOGIN sa ENABLE
GO