SQL Server 2008: FIXED “Saving changes is not permitted”

by Josh Highland on February 8, 2010

Screen shot 2010 02 03 at 12.16.11 AM1 SQL Server 2008: FIXED Saving changes is not permitted

Working in SQL Server 2008 I received this confusing error when editing the structure of a table:

“Saving changes is not permitted. The changes that 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.”

cantSaveTable SQL Server 2008: FIXED Saving changes is not permitted

I tried many things but I kept getting this error. After some trouble shooting I found the following information:

This error happens because “Saving Changes is not permitted” when using SQL Server 2008 Management Studio to modify the structure of a table especially when SQL Server needs to drop and recreate a table to save the structural changes. It is always advised to make a structural change for a table using TSQL. However, it is a convenient option for database developers to use SQL Server Management Studio make such changes  as the  Prevent Saving Changes That Require Table Re-creation option is enabled by default in SQL Server 2008 Management Studio.

I can understand why this feature would be helpful to have but to have it enabled by default is just silly.

I found that you can disable this feature by:

  1. Open the Tools menu then click on Options
  2. Open the “Designers” tree
  3. Click on “Table and Database Designers”
  4. Uncheck “Prevent saving changes that require table-creation”
  5. Press “Ok”

uncheck saveTables SQL Server 2008: FIXED Saving changes is not permitted

Once I disabled the “Prevent saving changes that require the table re-creation” option,  I was ahead and save the changes I needed to make.

  • digg SQL Server 2008: FIXED Saving changes is not permitted
  • facebook SQL Server 2008: FIXED Saving changes is not permitted
  • stumbleupon SQL Server 2008: FIXED Saving changes is not permitted
  • twitter SQL Server 2008: FIXED Saving changes is not permitted
  • delicious SQL Server 2008: FIXED Saving changes is not permitted
  • reddit SQL Server 2008: FIXED Saving changes is not permitted
  • friendfeed SQL Server 2008: FIXED Saving changes is not permitted
  • posterous SQL Server 2008: FIXED Saving changes is not permitted
  • tumblr SQL Server 2008: FIXED Saving changes is not permitted

{ 2 comments… read them below or add one }

1 Jason Kiesel May 12, 2010 at 9:52 am

Great tip. I just started seeing this error myself and was dumbfounded. SQL 2005 had no such errors, so I appreciate you passing along your knowledge. Good stuff!

2 Josh Highland May 12, 2010 at 9:56 am

Glad to help. I think CitySourced is a cool app. Keep it up.

Leave a Comment

Previous post:

Next post: