Heim >Datenbank >MySQL-Tutorial >Mssql insert数据:不能将值 NULL 插入列 'id'

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 16:19:251860Durchsuche

错误现象: 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' 三联

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn