SQL 2008 - "Saving changes is not permitted." error message..

Hi! I came across with this error in SQL Server Management Studio  everytime I made some modifications in a table, i.e. adding relationships.

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.

It was pretty tedious and generated a lot of doubts to me. Then, after making a quick search I found this great post from Brian Knight which explains how to avoid this behavior 'by design' :)

 In a nutshell, the solution is:

This is by design and can be quickly fixed in Management Studio by unchecking a property. To fix this in Management Studio, go to Tools -> Options then go to the Designer Page and uncheck "Prevent saving changes that require table re-creation".

Complete info, here: http://pragmaticworks.com/community/blogs/brianknight/archive/2008/06/04/sql-server-2008-designer-behavior-change-saving-changes-not-permitted.aspx

57 Comments

Comments have been disabled for this content.