{"id":123,"date":"2008-08-31T18:00:33","date_gmt":"2008-08-31T16:00:33","guid":{"rendered":"https:\/\/www.sqlinthewild.co.za\/?p=123"},"modified":"2008-08-31T18:00:33","modified_gmt":"2008-08-31T16:00:33","slug":"renamed-sa-and-sql-2008-upgrade","status":"publish","type":"post","link":"https:\/\/www.sqlinthewild.co.za\/index.php\/2008\/08\/31\/renamed-sa-and-sql-2008-upgrade\/","title":{"rendered":"Renamed &#039;sa&#039; and SQL 2008 upgrade"},"content":{"rendered":"<p>In a nutshell, it doesn&#8217;t work.<\/p>\n<p>There are a number of places in one of the upgrade scripts where the &#8216;sa&#8217; login name is hardcoded into the script. If, as is possible on SQL 2005, the sa account has been renamed, the upgrade fails and leaves the SQL installation in a state where it cannot be used.<\/p>\n<p>For all the gory details &#8211; <a href=\"https:\/\/connect.microsoft.com\/SQLServer\/feedback\/ViewFeedback.aspx?FeedbackID=364566\">Connect item 364566<\/a><\/p>\n<p>There&#8217;s a slightly dodgy workaround listed on the connect site, but the best thing is to make sure that sa is renamed back to sa before attempting a SQL 2008 upgrade.<\/p>\n<p>Update: There&#8217;s another workaround for this, other than creating a fake sa account. The PSS Engineers are working on a blog post and KB article. I&#8217;ll link to them once the articles are available.<\/p>\n<p>Update: Bob Ward posted a <a href=\"http:\/\/blogs.msdn.com\/psssql\/archive\/2008\/09\/10\/upgrade-for-sql-server-2008-can-fail-if-you-have-renamed-the-sa-account.aspx\">long blog post<\/a> on this, including a way to fix the broken SQL 2008 service without creating fake &#8216;sa&#8217; accounts. There is more to come still on this one.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a nutshell, it doesn&#8217;t work. There are a number of places in one of the upgrade scripts where the &#8216;sa&#8217; login name is hardcoded into the script. If, as is possible on SQL 2005, the sa account has been&#8230; <a class=\"read-more-button\" href=\"https:\/\/www.sqlinthewild.co.za\/index.php\/2008\/08\/31\/renamed-sa-and-sql-2008-upgrade\/\">(Read more)<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[15],"tags":[26],"class_list":["post-123","post","type-post","status-publish","format-standard","hentry","category-sql-server","tag-26"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7h6n-1Z","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/posts\/123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/comments?post=123"}],"version-history":[{"count":0,"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/posts\/123\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/media?parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/categories?post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlinthewild.co.za\/index.php\/wp-json\/wp\/v2\/tags?post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}