Old ladyHow Big Is Your Package?
Size up and convert your DTS package to SSIS. If you have the biggest DTS package, win a gift card and certificate of a world record package size.  
SQL Server 2008 Designer Behavior Change: Saving Changes Not Permitted - Brian Knight

Pragmatic Works

Welcome to Pragmatic Works Sign in | Join | Help
in Search

Brian Knight

SQL Server 2008 Designer Behavior Change: Saving Changes Not Permitted

I had been working in SQL Server 2008 for a number of months while working on the upcoming 2008 books and never had experienced this issue until just today. In hindsight, I can't imagine how I didn't experience sooner. The behavior change is when you save a table in Management Studio that requires the table be dropped and recreated behind the scenes, the change will fail by default with the below warning. In SQL Server, tables are dropped, recreated and reloaded automatically for you without having to worry about what's going on behind the curtains but this may create issues for some users. This behavior is required upon a number of actions but most common is creating a new column in a specific location in the table.

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.

image

This is by design and can be quickly fixed in Management Studio by unchecking a property. To fix this in Management Studio, go to Tools -> Options then go to the Designer Page and uncheck "Prevent saving changes that require table re-creation".

 

image

-- Brian Knight

Comments

 

Alunjd said:

Many thanks

I could not work out what I was doing wrong

June 20, 2008 3:41 AM
 

Sid Atkinson Jr. said:

SQL 2008 Designer Behavior

July 27, 2008 7:08 PM
 

SQL 2008 Designer : Prevent saving changes option | Iteration Knowledge Base said:

Pingback from  SQL 2008 Designer : Prevent saving changes option | Iteration Knowledge Base

August 13, 2008 8:41 AM
 

Pablo Peralta's Blog said:

Hi! I came across with this error in SQL Server Management Studio everytime I made some modifications

September 23, 2008 11:43 AM
 

Saving Changes is Not Permitted? « Code Slammer said:

Pingback from  Saving Changes is Not Permitted? « Code Slammer

October 19, 2008 3:16 PM
 

DroidRules said:

Solved my problem, thankyou

October 26, 2008 10:46 PM
 

terfle said:

Thanks. Making the SQL 2005 -> 2008 upgrade, this was very helpful.

January 21, 2009 10:32 AM
 

Kalen Delaney said:

Hopefully you're aware that there is no way using the ALTER TABLE statement to add a new column in a

January 23, 2009 3:32 PM
 

Kalen Delaney said:

Hopefully you're aware that there is no way using the ALTER TABLE statement to add a new column in a

January 23, 2009 3:36 PM
 

Other Blogs we recommend (SSQA.net) said:

Hopefully you're aware that there is no way using the ALTER TABLE statement to add a new column in a

February 17, 2009 10:04 PM
 

First install SQL Server 2008 & Reporting Services 2008: first settings « a developer’s breadcrumb said:

Pingback from  First install SQL Server 2008 & Reporting Services 2008: first settings « a developer’s breadcrumb

April 19, 2009 8:16 AM
 

SQL Server 2008 Designer Behavior Change: Saving Changes Not Permitted said:

Pingback from  SQL Server 2008 Designer Behavior Change: Saving Changes Not Permitted

May 18, 2009 6:32 AM
Powered by Community Server (Non-Commercial Edition), by Telligent Systems