Hi,
The 'pdmseconds' function can be used to convert a duration field to an integer number of seconds.
For example:
select chg.chg_ref_num
, chg.sched_start_date
, pdmseconds(chg.sched_duration) as dur_sec
, chg.sched_end_date
from chg
where chg.sched_start_date is not null and chg.chg_ref_num not like 'U%'
Regards,
James