1.首先原因很清楚 ,就是 插入表操作的时候 数据列不匹配。
原因是我增加了一个字段。修改了 插入的SQL 但是,忘记修改了 触发器、函数、存储过程里的此表的插入操作。
主要是因为 插入操作 没有写 列名。
以后要形成习惯 插入操作写列名,以后 增加字段 允许为空 就不用修改 触发器 什么的了。切记 切记!