总账数据冗余 济南用友软件
发布时间:2015-01-05 22:24 文章来源:未知 被浏览次数: 次
删除总账表中的冗余数据 delete [GL_accsum] from [GL_accsum] as v where not exists(SELECT * FROM [GL_accsum] as a where [iperiod] between 1 and 12 group by [ccode],[iperiod] having min([i_id])= [v].[i_id]) 删除辅助总账表中的冗余数据 delete [GL_accass] from [GL_accass] v where not exists(SELECT * FROM [GL_accass] where [iperiod] between 1 and 12 group by [ccode], [cdept_id], [cperson_id], [ccus_id], [csup_id], [citem_class], [citem_id],[iperiod] having min([i_id])=v.[i_id])
最新文章
- ·用友软件打印方式,济南用友
- [01-30]
- ·总账数据冗余 济南用友软件
- [01-05]
- ·济南最低价用友,自定义查询
- [01-05]
- ·数据一致性检查 济南用友www.jin
- [01-05]
- ·清理SQL日志 济南用友
- [01-05]
- ·删除帐套记录 济南用友www.jinan
- [01-05]
- ·工资公式 济南用友
- [12-31]
- ·济南用友触发器
- [12-31]
- ·生产-已领料生产线用料管控表 济
- [12-29]
- ·生产-已领料产成品入库跟踪表 济
- [12-29]
推荐阅读