SQL Server 2008 Error: Saving changes is not permitted
17.03.2010Se você tentar modificar tabelas no designer do SQL Server Management Studio 2008, ou até mesmo fazer outras modificações como no diagrama e procedures por exemplo e deparar com esta mensagem de erro:
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.
Basta desmarcar a opção que previne a recriação de tabelas em mudanças no designer. Em desenvolvimento eu desabilito este recurso. Já em ambiente de produção é um recurso muito bom tê-lo. É fácil:
No Management Studio vá em Tools/Options e acesse a opção “Designers” –> "Table and Database Designers” e desmarque o ítem “Prevent saving changes that require table re-creation” marcado na imagem abaixo.
Este problema aconteceu comigo e achei interessante de repassar a vocês.
[]s



