Hvis du antager, at du vil konvertere 492 minutter:
select to_char(trunc(sysdate) + 492/24/60, 'hh24:mi') from dual;
Hvis du ønsker en funktion:
create or replace
function tq84_convert_minutes_hh24mm (p_minutes in number)
return varchar2 is
begin
return to_char (trunc(sysdate) + p_minutes / 24/60, 'hh24:mi');
end tq84_convert_minutes_hh24mm;
/
Senere ...
begin
dbms_output.put_line (tq84_convert_minutes_hh24mm(492));
end;
/