CameTooFar

A Nerd's False Positive.

Warning: ‘Saving changes is not permitted’ in Sql Server 2008

Recently, I installed the new build in of Sql Server 2008 R2. Using the Management Studio, I created and saved a Table in the Design View. Later on, I added a couple of columns to the same Table and hit the Save button. Phew…!!! I’m bombarded with this surprising warning message.

Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can’t be re-created or enabled the option Prevent saving changes that require the table to be re-created.

A sample screenshot looks like,

sql2k8_saving_alert

I’s wondering what the changes have been made to the Sql Server 2008 Table Designer bits as compared to the Sql Server 2005 bits Table Designer. Because, you won’t get any such warning in Sql Server 2005 Table Designer.

However, You can fix this warning dialog box by disabling the option the ‘Prevent saving changes that require the table to be re-created’.

sql2k8_saving_alert_2

Here is the Exact step to enable it:

  1. Start Sql Server Management Studio
  2. Menu: Tools –> Options
  3. From the left-side Tree: choose Designers –> (uncheck) Prevent saving changes that require the table to be re-created

    Hope this helped. Thanks.