Sql Server2008 forget the sa login password

Sql sa login password is forgotten solution:

Execution of sentence premise:

  1, the system can log into it (can not remember when sa password, you can use windows user authentication approach to landing)

  2, usually with sa landing, the point to remember the password but can not remember how much the password

You can execute the following statement

 

Master use
Go
Exec sp_password null, 'new password', 'SA'
Go

Guess you like

Origin www.cnblogs.com/jukychu/p/12096237.html