Apprentice101
IS-IT--Management
Can someone please help me with this procedure? It works sometimes and sometimes it does not. i think it may have something to do with decimals in the arythmetic operation.
any suggestions?
thanks!
PROCEDURE minute_interval IS
BEGIN
declare
total_minutes number;
begin
total_minutes:=
surgery.time_out - :surgery.time_in)*1440;
:surgery.total_surg_time := total_minutes;
END;
END;
any suggestions?
thanks!
PROCEDURE minute_interval IS
BEGIN
declare
total_minutes number;
begin
total_minutes:=
:surgery.total_surg_time := total_minutes;
END;
END;