{"id":402,"date":"2012-06-11T01:19:12","date_gmt":"2012-06-11T01:19:12","guid":{"rendered":"http:\/\/www.top-password.com\/blog\/?p=402"},"modified":"2012-06-11T01:22:08","modified_gmt":"2012-06-11T01:22:08","slug":"how-to-change-sa-password-in-sql-server-2005","status":"publish","type":"post","link":"https:\/\/www.top-password.com\/blog\/how-to-change-sa-password-in-sql-server-2005\/","title":{"rendered":"How to Change SA Password in SQL Server 2005"},"content":{"rendered":"<p>Forgot SQL Server password and unable to login using the SA account? If you happen to forget your SQL Server password for sa account, then here&#8217;s a simple query to help you reset it:<\/p>\n<p><code>GO<br \/>\nALTER LOGIN sa WITH DEFAULT_DATABASE=master<br \/>\nGO<br \/>\nUSE master<br \/>\nGO<br \/>\nALTER LOGIN sa WITH PASSWORD=N'MyNewPassword' MUST_CHANGE<br \/>\nGO<\/code><\/p>\n<p>In case you remember your old password and want to change the sa password, use this query:<\/p>\n<p><code>ALTER LOGIN sa WITH PASSWORD = N'MyNewPassword' OLD_PASSWORD = 'MyOldPassword';<br \/>\nGO <\/code><\/p>\n<p>You aslo can get a third-party tool to change SQL password.<strong> <a href=\"http:\/\/www.top-password.com\/sql-server-password-recovery.html\">SQL Server Password Changer<\/a><\/strong> is one of the best MS SQL password reset tools which can help you <a href=\"http:\/\/www.top-password.com\/knowledge\/change-sql-server-password.html\">change SQL Server password<\/a> in a few seconds. It allows you to change SQL sa password on SQL Server and Express 2000\/2005\/2008.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Forgot SQL Server password and unable to login using the SA account? If you happen to forget your SQL Server password for sa account, then here&#8217;s a simple query to help you reset it: GO ALTER LOGIN sa WITH DEFAULT_DATABASE=master GO USE master GO ALTER LOGIN sa WITH PASSWORD=N&#8217;MyNewPassword&#8217; MUST_CHANGE GO In case you remember [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,7,10],"tags":[189,190,188,187],"class_list":["post-402","post","type-post","status-publish","format-standard","hentry","category-others","category-sql-server","category-tips-tricks","tag-change-sql-server-password","tag-change-sql-server-sa-password","tag-forgot-sql-server-password","tag-reset-sql-server-password"],"_links":{"self":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/comments?post=402"}],"version-history":[{"count":5,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/402\/revisions"}],"predecessor-version":[{"id":407,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/402\/revisions\/407"}],"wp:attachment":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/media?parent=402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/categories?post=402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/tags?post=402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}