I have this sql script
select
upper(spriden_first_name)||' '||substr(upper(spriden_mi),1,1),26,' ')||
lpad(xpersre_curr_gross*100,9,0)||lpad(xpersre_employee_contr*100,7,0)||
decode(xpersre_payroll_id,'MN',4,7)||MIN(xpersre_beg_date)||MAX(xpersre_end_date)
from spriden,xpers
where spriden_change_ind is null
I would like to SUM a field with the xpers table.
This is the field: (xpersre_curr_gross) but I would like to keep the format that I have setup in the script.
How can this be done?
Thank you
select
upper(spriden_first_name)||' '||substr(upper(spriden_mi),1,1),26,' ')||
lpad(xpersre_curr_gross*100,9,0)||lpad(xpersre_employee_contr*100,7,0)||
decode(xpersre_payroll_id,'MN',4,7)||MIN(xpersre_beg_date)||MAX(xpersre_end_date)
from spriden,xpers
where spriden_change_ind is null
I would like to SUM a field with the xpers table.
This is the field: (xpersre_curr_gross) but I would like to keep the format that I have setup in the script.
How can this be done?
Thank you