The script below can be used to show which employees had a FED9 amount withheld.
select calyr,empid,calytdearnded,YtdRptEarnSubjDed,* from EarnDed where EarnDedId = 'fed9' and CalYr = '2015' and CalYtdEarnDed<>0
The script below can be used to set FED9 subject earnings to zero for employees that had no FED9 deduction amounts.
update EarnDed set QtdRptEarnSubjDed00=0, qtdrptearnsubjded01=0, qtdrptearnsubjded02=0, qtdrptearnsubjded03=0, MtdRptEarnSubjDed00=0, MtdRptEarnSubjDed01=0, MtdRptEarnSubjDed02=0, MtdRptEarnSubjDed03=0, MtdRptEarnSubjDed04=0, MtdRptEarnSubjDed05=0, MtdRptEarnSubjDed06=0, MtdRptEarnSubjDed07=0, MtdRptEarnSubjDed08=0, MtdRptEarnSubjDed09=0, MtdRptEarnSubjDed10=0, MtdRptEarnSubjDed11=0, YtdRptEarnSubjDed=0 where EarnDedId = 'fed9' and CalYr = '2015' and CalYtdEarnDed =0