Home >Database >Mysql Tutorial >Mssql insert数据:不能将值 NULL 插入列 'id'

Mssql insert数据:不能将值 NULL 插入列 'id'

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 16:19:251859browse

错误现象: Microsoft OLE DB Provider for SQL Server 错误 '80040e2f'不能将值 NULL 插入列 'id',表 'web.dbo.dingdan';列不允许有空值。INSERT 失败。 /Untitled-2.asp,行 115 解决办法 点击表,修改,设置id列标识规范为是,如下图。

   错误现象:

  Microsoft OLE DB Provider for SQL Server 错误 '80040e2f'不能将值 NULL 插入列 'id',表 'web.dbo.dingdan';列不允许有空值。INSERT 失败。

  /Untitled-2.asp,行 115

  解决办法

  点击表,修改,设置id列标识规范为“是”,如下图。

Mssql insert数据:不能将值 NULL 插入列 'id' 三联

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn