oracle8.1.6 select version_name, to_char(anticipated_release_date, 'YYYY MM DD HH24 MI') as anticipated_release_date, to_char(nvl(actual_release_date, sysdate), 'YYYY MM DD HH24 MI') as actual_release_date from bt_versions where version_id = :version_id