Have you encountered an error while making changes to your Database tables that says:
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.
|
Figure 1 |
The error message is giving us clues on how to solve this with the last statement "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."
Based on my experience, the problem is that the "
Prevent saving changes that require table re-creation" is checked. (Look at the figure below..
|
Figure 2 |
In order for you to save these kind of changes, you have to uncheck it by going to
Tools>Options..
|
Figure 3 |
Then look for "
Designers" at the left and click on the "
Table and Database Designers" (Refer to Figure 3 below)
|
Figure 4 |
The "
Prevent saving changes that require table re-creation" should now in unchecked mode like the photo above.
Refresh you SQL Server Management Studio and the error should now cease to exist when you save changes in your tables.
Comments
Post a Comment