Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-07 16:19:25
Original
1741 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!