序言
今天我正在修改 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." ...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/