有一点点不对,科目编码是两个,而且期初是1月,不是7.注意在删除明细账的情况下操作。就是说明明不应该有任何数据了,可是还有,这是多余的数据
delete from gl_accass where ccode in ('112301','112302') and iperiod=1
delete from gl_accsum where ccode in('112301','112302')and iperiod=1
:备份过账套了7是期初建账月份 是不是执行下面语句
delete from gl_accass where ccode in (''112301'') and iperiod=7
delete from gl_accsum where ccode in (''112301'') and iperiod=7