Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/sql/84.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql 创建新列时禁用标识规范_Sql_Sql Server Express - Fatal编程技术网

Sql 创建新列时禁用标识规范

Sql 创建新列时禁用标识规范,sql,sql-server-express,Sql,Sql Server Express,我创建了一个新列,并希望将其设置为标识列,但是在属性中,标识规范被禁用。为什么? 数据类型为“uniqueidentifier”的字段不能设置为自动递增字段。您是正确的。我需要做以下几件事

我创建了一个新列,并希望将其设置为标识列,但是在属性中,标识规范被禁用。为什么?


数据类型为“uniqueidentifier”的字段不能设置为自动递增字段。

您是正确的。我需要做以下几件事