Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> sql logging problem

sql logging problem

From: Mark Aurit <maurit_at_world.northgrum.com>
Date: 1997/04/12
Message-ID: <01bc4740$c2465700$3d846380@MAURIT>#1/1

I have some sql (see below) that takes around 20 minutes to execute. To get some timings, I attempt to create a log (see bottom) what shows the start and stop time. However, it consistently says that only a short amount of time has been spent, even though, as I said, at least 20 minutes have bypassed. ??????
Thanks, Mark
mark_aurit_at_mail.northgrum.com

select substr(to_char(sysdate,'DD-MM-YY'),1,10) run_date from dual; select substr(to_char(sysdate,'HH:MM:SS'),1,10) start_time from dual;

select substr(to_char(sysdate,'HH:MM:SS'),1,10) end_time from dual;

spool close
exit

RUN_DATE                                                                   
                        

----------
10-04-97 START_TIME
----------
07:04:20

92824 rows created.

Commit complete.

END_TIME                                                                   
                        

----------
07:04:56
Received on Sat Apr 12 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US