sql-server - "Prevent saving changes that require the table to be re-created"负面影响

标签 sql-server sql-server-2008 database-design sql-server-2005

序言

今天我正在修改 SQL Server 2008 中的一列,将数据类型从货币(18,0)更改为(19,2)。

我从 SQL Server 收到错误“您所做的更改需要删除并重新创建以下表”。

在您急于回答之前,请阅读以下内容:

I already know there is the option in Tools ► Options ► Designer ► Table and Database Designers ► Uncheck the box "Prevent saving changes that require table re-creation." Prevent saving changes that require table re-creation in five clicks ...so do not answer with that!

实际问题

我的实际问题是其他问题,如下:

这样做有任何负面影响/可能的缺点吗?

当取消选中此框时,表实际上会自动删除并重新创建吗?

如果是,该表副本是否是源表 100% 精确的副本?

最佳答案

工具 --> 选项 --> 设计器节点 --> 取消选中“防止保存需要重新创建表的更改”。

关于sql-server - "Prevent saving changes that require the table to be re-created"负面影响,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11802429/

相关文章:

sql-server-2008 - 为什么 MERGE 语句的目标表不允许有启用的规则?

MySQL数据库架构..创建不同表通用的属性表,以便将来更容易编辑

mysql - 数据库设计 : saving Google Maps data

sql-server - 如何微调以下 SQL 查询?

sql-server - 如何在 PHP 7 上使用 ODBC Driver 17 连接到命名实例?

c# - 使用 Entity Framework Core 将文件存储在数据库中

c# - 自定义异常消息 C#

c# - 在 C# 中对具有空值的数据库进行选择时处理空白字符串 ("") 文本框值

sql - 计算行明智总和 - Sql server

mysql - 从包含特定用户的图表中获取 chat_id