Monday, 21 January 2013

MSSQL - How to fix error Saving changes is not permitted.


Watch example online


The following error is displayed when trying to modify table using visual components:

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.


In case you receive this error - execute the following query instead of using visual components:
Alter table UsersTable Alter Column LastName Varchar(50)

No comments:

Post a Comment