/*
应收应付结账时提示“单据重复”的处理。
*/
--备份数据
-- select * into t_rp_contactbal_bak from t_rp_contactbal where fyear=2010 and fperiod>9 and frp=0
-- frp 1-应收 0-应付
delete from t_rp_contactbal where fyear=2010 and fperiod>9 and frp=0
delete from t_rp_contactbal where fyear=2010 and fperiod>9 and frp=0
-- INSERT INTO t_rp_contactbal SELECT * FROM t_rp_contactbal_bak
--drop table t_rp_contactbal_bak
版权声明:本文为wai631原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。