无法将 NULL 值插入列 ✀NcID✀,表

2025-12-14 16:09:47
推荐回答(1个)
回答1:

很简单..你的insert into 语句里没有插入 pH_Person_Base这个列的值..但是你数据库又把他设为不能为空..

解决方法有二..
1 在你插入数据的时候,同时对pH_Person_Base也插入一个值.

2 更改数据库表中的pH_Person_Base 把他设为可为空