【问】下传数据提示错误“无法将 NULL 值插入列 ‘item_no’”? | ||
【适用版本】专卖店8 | 【模块】基本档案 | 【点击数】173 |
【知识编号】Z2012062700066 | ||
【问题描述】无法将 NULL 值插入列 ‘item_no’,表 ‘hbfsv7_branch.dbo.t_im_sheet_detail’;该列不允许空值。INSERT 失败。 No changes made to database. INSERT INTO t_im_sheet_detail ( sheet_no, order_qty, real_qty, large_qty, orgi_price, valid_price, sub_amt, tax, num1, num2, num3 ) VALUES ( ‘MO001201070861’, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000 ) |
use isszmv8
go
delete t_im_sheet_detail where item_no is null or item_no =’ ‘
go