我正在尝试将以下Postgres查询转换为oracle。在强制转换为间隔时有问题。关于如何在sql中强制转换为间隔的任何建议
select distinct product_id as late_id,
date_trunc('day',(end_timestamp + CAST(CAST (pkg_valid_for*86400 as Text ) as interval))) as fileExpiration,
(CAST(now()as date) + integer '14') as day15fromnow
from product_details d, dist_audit da