【正文】
where iperiod=6 ) bb on = and = where www . ufsoft . com 分析過程 可以看一下具體的差異記錄: www . ufsoft . com 解決方法 為零的數(shù)據(jù)肯定是錯(cuò)的,可以更新: update fa_total set =,=b from fa_total inner join (select * from fa_total where iperiod=1 ) bb on = and = where ( ) and =6 www . ufsoft . com 分析過程 再分析: select , from ( select * from fa_total where iperiod=1 ) aa inner join ( select * from fa_total where iperiod=6 ) bb on = and = where www . ufsoft . com 分析過程 只剩下一條記錄不相等: www . ufsoft . com 分析過程 可以分析一下卡片數(shù)據(jù): select * from fa_cards where sdeptnum=39。更改后還有部分?jǐn)?shù)據(jù)時(shí)錯(cuò)誤的:需要改正 3。01030139。 and dinputdate39。缺少部分?jǐn)?shù)據(jù):需要到庫(kù)中增加 2。0110