Home » Developer & Programmer » Forms » How can i display the time consume in my processing
How can i display the time consume in my processing [message #81989] Tue, 08 April 2003 01:39 Go to next message
Susane
Messages: 27
Registered: September 2002
Junior Member
Hi! to all

Please help me how can i display the time consumed
during my processing. I wanted to monitor the time because user wanted to monitor how much time consumed including the hours, minutes and seconds. I run my processing programs thru forms.

Thanks and i will highly appreciate your time in helping me..
Re: How can i display the time consume in my processing [message #81991 is a reply to message #81989] Tue, 08 April 2003 06:12 Go to previous messageGo to next message
JAFOD
Messages: 15
Registered: February 2003
Junior Member
Assuming your process is called from a trigger, you can do something like this in your trigger code:

DECLARE
v_start date;
v_elapsed date;
BEGIN
v_start := SYSDATE;
YOUR_PROCESSING;
v_elapsed := trunc(SYSDATE) + (SYSDATE - v_start);
message('processing took: ' || to_char(v_elapsed,'HH:MI:SS') || ' seconds');
pause;
END;
Re: How can i display the time consume in my processing [message #82004 is a reply to message #81989] Tue, 08 April 2003 18:56 Go to previous message
Susane
Messages: 27
Registered: September 2002
Junior Member
Hi Jafod

thanks a lot for the information. i really appreciate your effort to answer my questions.
I will try to use it in my processing programs..

thanks

susane
Previous Topic: Convert FMX into EXE
Next Topic: replacing value in one column of excel sheet
Goto Forum:
  


Current Time: Tue Apr 16 13:43:16 CDT 2024