Friday, December 3, 2010

Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created.


When making changes in a table, an error might occur
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 can't be re-created or enabled the option Prevent saving changes that require the table to be re-created.

The reason behind this error is that, whenever we add or delete a field of a table, that table requires to be dropped and recreate again. SQL Server prevents this change to happen ie it does not allow for drop and recreate of the table.
Here is solution to this problem
Open the SQL Server Management Studio
Go to the Tools Menu and select Options
Select the Designers from the Options and uncheck "Prevent saving changes that require table re-creation"

No comments:

Post a Comment

Share This