Update VS4TEmpSalary Set TSalQuantity = 1 where TSalQuantity is null
GO
Update VS4TEmployeeTypeSL Set TGSlQuantity = 1 where (select TAmyBaseSource from VS4TEmpAddMoney where VS4TEmpAddMoney.TAmyCode=VS4TEmployeeTypeSL.TGSlTAmyCode )=0
GO
Update VS4TEmployeeTypeSL Set TGSlQuantity = 0 where TGSlQuantity is null
GO
