When I create a table in SQL Server and save it, if I try to edit the table design, like change a column type from int to real, I get this error:
(当我在SQL Server中创建一个表并保存它时,如果我尝试编辑表设计,比如将列类型从int更改为real,我会收到以下错误:)
Saving changes is not permitted.
(不允许保存更改。)
The change you have made requires the following table to be dropped and re-created. (您所做的更改需要删除并重新创建下表。)
You have either made changes to a table that can't be recreated or enabled the option prevent saving changes that require the table to be re-created. (您已对无法重新创建或启用的表进行了更改,该选项会阻止保存需要重新创建表的更改。)
Why do I have to re-create the table?
(为什么我要重新创建表?)
I just want to change a data type from smallint
to real
. (我只想将数据类型从smallint
更改为real
。)
The table is empty, and I didn't use it until now.
(该表是空的,直到现在我才使用它。)
ask by Arash translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…