导航

[SQL Server]如何激活一个账号

Posted on 2010-05-11 12:23  FryFish  阅读(306)  评论(0)    收藏  举报

To enable the sa login by using Transact-SQL, execute the following statements to enable the sa password and assign a password.

ALTER LOGIN sa ENABLE;

GO

ALTER LOGIN sa WITH PASSWORD = '<enterStrongPasswordHere>' ;

GO

 
Please refer to: http://msdn.microsoft.com/en-us/library/ms188670.aspx