Search code examples
sqlsql-server-2008default

Issue about modification in table


I do have some problem regarding saving changes when I'm going to modify my table. I'm using user defined default in my fields. I'm wondering that the reason why I can't modify my table because I'm using user defined default. When click the save button I always encounter this error message

enter image description here


Solution

  • There's an option in SQL Server Management Studio to prevent you from doing changes that require a table to be rebuilt from scratch.

    Go under Tools > Options > Designers and find the checkbox Prevent saving changes that require table re-creation and uncheck that checkbox.

    enter image description here

    It's not a bug - it's a feature! :-)