delete from fl where yy = 2014 and mm = 6 and bz <> 5;
delete from cpzqsp where cllx > ‘70‘;
delete from cpzgbh where status < ‘31‘;
delete from cpdwbh where status < ‘31‘;
delete from cpzgzy;
delete from cpdwzy where status < ‘31‘;
业务汇总月结
财务汇总月结
业务年末处理
select * from sspersons where spgz<0;--没有数据
select * from cpndjx where jxnd=2014;-- 有数据
select * from cpdwndjx where jxnd=2014;--有数据
select * from flmx where zy like ‘%年度结息%‘ and yy=‘2014‘;--有数据
select * from fl where zy like ‘%年度结息%‘ and yy = 2014; --有数据
原文地址:http://www.cnblogs.com/scoracle/p/3832998.html