Save (Not Permitted) Dialog Box
The Save (Not Permitted) dialog box warns you that saving changes is not permitted because the changes you have made require the listed tables to be dropped and re-created.
The following actions might require a table to be re-created:
Adding a new column to the middle of the table
Dropping a column
Changing column nullability
Changing the order of the columns
Changing the data type of a column
To change this option, on the Tools menu, click Options, expand Designers, and then click Table and Database Designers. Select or clear the Prevent saving changes that require the table to be re-created check box.
SQL Server 2008 has new option called "Prevent saving changes that require table re-creation" option under Tools - Options. You will receive this message when you restore database created on other server. Uncheck "Prevent saving changes that require table re-creation" option and you will able to save changes.
Chirag Darji
http://chiragrdarji.wordpress.com
- 3/15/2010
- Chirag Darji
If you want to turn this off, go to Tools -> Options then go to [+] Designers -> "Table and Database Designers" and uncheck "Prevent saving changes that require table re-creation".
- 12/4/2009
- Tim Golisch
If the table has been re-created when we make the changes, then what will happen to our data inside the table and the constraints?
[Tai Yee - MSFT] Hi, the best way to get questions answered is to post in the Microsoft Community Forum. The SQL Server Forums are located here: http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=19&SiteID=1. You may want to post this to the Database Engine and/or the Tools forums.
[Neil Trodden] The article could probably be improved by stating that it keeps the data and this data is re-inserted into your new table.
- 11/6/2008
- Balki-eprm
- 7/28/2009
- neiltrodden
Let's just say you put in 50 new variables and made one change that could easily be fixed if designer is not closed, now designer warns you about such change and all your work is dropped in vain, and designer also blames you for such sloppy work and says we could not save changes because "User canceled save action". I think this behavior should be changed.