SQL Server 2008|2012 block saving changes that require re-creation of tables

Source: Internet
Author: User
Tags microsoft sql server management studio sql server management sql server management studio

It is not very understandable why the option to block saving changes that require re-creation of tables is included in SQL Server 2008 and later versions. It is too troublesome to be "blocked" every time the table structure is modified. It's not convenient.

  Problem Description:
The solution to the error of SQL Server 2008 "Prevent saving changes that require re-creation of tables" is what we are going to focus on in this article: when we have built a table with SQL Server 2008, we are prompted when inserting or modifying any column: When the user is in SQL Server 2008 When you change the table structure in Enterprise Manager, you must first delete the original table and then recreate the new table to complete the table changes.
If you make a forced change, the following prompt appears: Save changes are not allowed. Your changes require that the following tables be deleted and recreated. You have made changes to the label that cannot be recreated or enabled the "Prevent saving changes that require table re-creation" option. Such as:

If you see this text, you are using RSS to read or turn to "a Tree-blog park," The original address: http://www.cnblogs.com/atree/p/SQL_SERVER_2008_Table_Changes.html

Workaround (This is also true for SQL Server 2012) :

Open the Microsoft SQL Server Management Studio tool and select it from the menu bar:

Tool-〉 Options-〉 a designer-〉 Table Designer and Database Designer on the left to prevent changes that require re-creation of the table (right) remove the hook.

SQL Server 2008|2012 block saving changes that require re-creation of tables

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.