我知道这是问了很多,但不知道如何应用它在一个变量;
这是我的密码
DECLARE
Main_time_elap varchar2(1000);
time_elap varchar2(1000);
time_elape number(5);
BEGIN
main_time_elap:=to_char(systimestamp,'HH24:MI:SS');
time_elap:=to_char(systimestamp,'HH24:MI:SS');
time_elape:=to_number(time_elap)-to_number(main_time_elap);
--time_elape :=time_elap-main_time_elap ;
end;
/
1条答案
按热度按时间tf7tbtn21#
这要简单得多: