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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: PL/SQL - procedur

Re: PL/SQL - procedur

From: Jan Pruner <jan_at_pruner.cz>
Date: Mon, 25 Mar 2002 08:58:33 -0800
Message-ID: <F001.0043214D.20020325085833@fatcity.com>


Because it stores only seconds and if your procedure's runtime is short (< 1 sec) you will get the same numbers.

Other problem is: if you call same procedure in LOOP, you will get 1 - 2 - 5 ... 15 ... 500 records with same value in start and end time column.
And (I think so) there's no way how to get the order of inserting of these records.

JP

On Mon 25. March 2002 16:03, you wrote:
> Jan,
>
> Could you explain why you say not to use the DATE datatype?
>
> Rich Jesse System/Database Administrator
> Rich.Jesse_at_qtiworld.com Quad/Tech International, Sussex, WI
> USA
>
>
> -----Original Message-----
> Sent: Monday, March 25, 2002 6:33 AM
> To: Multiple recipients of list ORACLE-L
>
>
> Look at Exception in PL/SQL and how to use it.
> http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/appdev.817
>/ a77069/11_elems.htm#8355
>
> And don't use 'date' type of variable to store start time and end time of
> your procedures.
>
> JP

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jan Pruner
  INET: jan_at_pruner.cz

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Mar 25 2002 - 10:58:33 CST

Original text of this message

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