select trim(username), trim(jobname), trim(token), to_number(r_status, 'xx'), actstartdate from queuedjob where actstartdate between (to_date('20131001', 'yyyymmdd')) and (to_date('20131003', 'yyyymmdd'))
'