One of the application owners sent me a message the other day: Login failed for user ‘sa’ because the account is currently locked out. The system administrator can unlock it.
The following code will solve the issue
--------------------CODE START----------------------------------
use master
ALTER LOGIN sa WITH PASSWORD = 'password' UNLOCK
-----------CODE END-------------------------
Source:Jack Vamvas (http://www.sqlserver-dba.com)This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |