{"id":716,"date":"2013-08-03T00:50:36","date_gmt":"2013-08-03T00:50:36","guid":{"rendered":"http:\/\/regina-whipp.com\/blog\/?p=716"},"modified":"2016-07-08T22:49:51","modified_gmt":"2016-07-09T02:49:51","slug":"saving-changes-is-not-permitted-sql-server-tables","status":"publish","type":"post","link":"https:\/\/regina-whipp.com\/blog\/?p=716","title":{"rendered":"Saving changes is not permitted (SQL Server tables)&#8230;"},"content":{"rendered":"<p>You upsize your\u00a0tables up to the SQL Server but you used some BIT fields and\/or you want to make some other table changes.\u00a0 So, you navigate to the first table and uncheck the *Allow Nulls* for your BIT field and make your other adjustments and you go to Save.\u00a0 Instead of the table saving you get&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-718 size-full\" src=\"http:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/07\/SavingChanges.png\" alt=\"SavingChanges\" width=\"471\" height=\"381\" srcset=\"https:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/07\/SavingChanges.png 471w, https:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/07\/SavingChanges-300x242.png 300w, https:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/07\/SavingChanges-150x121.png 150w, https:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/07\/SavingChanges-400x323.png 400w\" sizes=\"auto, (max-width: 471px) 100vw, 471px\" \/><\/p>\n<p>At first, you think you did it wrong so you try again only to get the above.\u00a0 Well, that&#8217;s not going to work!\u00a0 Don&#8217;t panic, there&#8217;s a quick and easy fix&#8230;\u00a0 You do not have to close the table you just made the adjustments to.\u00a0 Just go to <strong>Tools<\/strong> &gt; <strong>Options<\/strong> &gt; <strong>Designers<\/strong> &gt; <strong>Table and Database Designers<\/strong> and uncheck *<strong>Prevent saving changes that require table re-creation<\/strong>* and click *<strong>OK<\/strong>*\u00a0 Now, you can return to your table and click *<strong>Save<\/strong>*\u00a0with no more issues.<\/p>\n<p><a href=\"http:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/07\/SQLServerOptions.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-717\" src=\"http:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/07\/SQLServerOptions.png\" alt=\"SQLServerOptions\" width=\"659\" height=\"390\" srcset=\"https:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/07\/SQLServerOptions.png 659w, https:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/07\/SQLServerOptions-300x177.png 300w, https:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/07\/SQLServerOptions-150x88.png 150w, https:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/07\/SQLServerOptions-400x236.png 400w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/a><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_716\" class=\"pvc_stats all  \" data-element-id=\"716\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/regina-whipp.com\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>You upsize your tables up to the SQL Server but you used some BIT fields and\/or you want to make some other table changes. So, you navigate to the first table and uncheck the *Allow Nulls* for your BIT field and make your other adjustments and you go to Save. Instead of the table saving [&#8230;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_716\" class=\"pvc_stats all  \" data-element-id=\"716\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/regina-whipp.com\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,63,29],"tags":[18,65,28,27],"class_list":["post-716","post","type-post","status-publish","format-standard","hentry","category-access-tips","category-database-design","category-error-messages","tag-database-design","tag-error-messages","tag-sql-server","tag-upsize","odd"],"a3_pvc":{"activated":true,"total_views":875,"today_views":0},"_links":{"self":[{"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=716"}],"version-history":[{"count":8,"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/716\/revisions"}],"predecessor-version":[{"id":1279,"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/716\/revisions\/1279"}],"wp:attachment":[{"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=716"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}