【发布时间】:2017-03-24 08:04:53
【问题描述】:
我需要在 SQL Server 2014 中自动增加一个小数列。
【问题讨论】:
-
首先...为什么?二、有多少DP?请提供样本数据。
-
试过了,得到这个错误信息:
Identity column 'D' must be of data type int, bigint, smallint, tinyint, or decimal or numeric with a scale of 0, and constrained to be nonnullable. -
@JohnHC 我必须提供它自动生成的版本号。示例:1.0、2.0、. . .
-
@ZoharPeled 我也遇到了同样的错误。我想我们还没有这样的选择。
标签: sql sql-server auto-increment