update  a set a.rounding_mode = b.rounding_mode from  hrsa_salary_sob_item a, hrsa_salary_item b where a.salary_item_id=b.id  and a.delete_type=0 and (a.rounding_mode is null or a.rounding_mode='')
GO

update  a set a.pattern = b.pattern from  hrsa_salary_sob_item a, hrsa_salary_item b where a.salary_item_id=b.id  and a.delete_type=0 and (a.pattern is null or a.pattern='')
GO

update  a set a.value_type = b.value_type from  hrsa_salary_sob_item a, hrsa_salary_item b where a.salary_item_id=b.id  and a.delete_type=0 and (a.value_type is null or a.value_type='')
GO