【问】日结报错“算术溢出”? | ||
【适用版本】专卖店8 | 【模块】零售管理 | 【点击数】598 |
【知识编号】Z2012052800004 | ||
【问题描述】日结报错“算术溢出”? |
1、找出问题记录
use isszmv8
go
select * from t_rm_saleflow where item_no=’商品货号’ and convert(char(10),oper_date,121)=’2007-09-27′
and flow_no=’错误的销售单号’
go
2、根据提示修改语句,更正问题
update t_rm_saleflow set sale_price=’正确的销售单价’,sale_money=’正确的销售金额’
where item_no=’6938247301823’and convert(char(10),oper_date,121)=’2007-09-27′ and flow_no=’错误的销售单号’
go
3、找出问题记录(如果没有记录就不用修改)
select * from t_im_flow where item_no=’6938247301823′ and memo=’前台销售’ and
convert(char(10),oper_date,121)=’2007-09-27′
go
4、根据提示修改语句,更正问题
update t_im_flow set price=’正确的销售单价’ ,sheet_amt=’错误销售金额’
where item_no=’6938247301823′ and memo=’前台销售’ and convert(char(10),oper_date,121)=’2007-09-27′ and
sheet_amt=’错误销售金额’
go
5、找出问题记录
select * from t_rm_payflow where convert(char(10),oper_date,121)=’2007-09-27′ and flow_no=’错误的销售单号’
go
6、根据提示修改语句,更正问题
update t_rm_payflow set sale_amount=’正确的销售单价’,pay_amount=’错误销售金额’
where convert(char(10),oper_date,121)=’2007-09-27′ and flow_no=’错误的销售单号’
go