Monday, August 30, 2010

Stupid default setting in SQL Server 2008...

I've created a table in SQL server 2008, then decided to change one of the column size from varchar(10) to varchar(50). When I try to save the changes I'm getting the error below:

"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."

Solution:
In Management Studio, go to Tools -> Options then go to the Designer Page and uncheck "Prevent saving changes that require table re-creation".

5 comments:

  1. solution yg simple tp mmg ler stupid setting.. gilos.. stgh jam carik solution.. nasib baik ada sifffuuu....

    ReplyDelete
  2. it should mention in the error how to resolve the things. Gud jobb siffuu..

    ReplyDelete