Home > SQL2008 > Saving Changes is not permitted The changes you have made require the following tables to be dropped and recreated – SQL Server 2008

Saving Changes is not permitted The changes you have made require the following tables to be dropped and recreated – SQL Server 2008

Today, while changing the column definition i came across the following message

“Saving Changes is not premitted. The changes you have made require the following tables to be dropped and recreated……..”

I created a table without primary key and then later tried to add the primary key using the ALTER TABLE command but got the below message.

image

The solution to the above message is:

1. In the SQL Server Management Studio, go to Tools –> Options. you will get the options window as show below.

image

2.  Uncheck the 6th option under Table options i.e. Prevent saving changes that require table re-creation. See the image below

 

image

3. Now you should be able to modify the table definition.

Happy Learning !!!

Categories: SQL2008 Tags:
  1. June 30, 2009 at 6:26 pm | #1

    Brilliant, saved my life, thanks alot man. Microsoft sucks :) but tsill i love

    • shahharsh
      June 30, 2009 at 6:52 pm | #2

      Thanks Sajjad, nice to know that article helped you.

  2. September 6, 2009 at 8:29 pm | #3

    Thanks a lot

  3. September 10, 2009 at 12:39 am | #4

    Thanks! The screen shots are a nice touch :)

    • shahharsh
      September 10, 2009 at 2:10 am | #5

      Hi Kevin,
      Thanks for the comment.


      Harsh Shah

  1. No trackbacks yet.