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 -> Re: Creating IDs subsequently

Re: Creating IDs subsequently

From: Billy Verreynne <vslabs_at_onwe.co.za>
Date: 27 Jul 2003 22:26:08 -0700
Message-ID: <1a75df45.0307272126.7ada4034@posting.google.com>


Brian Peasland <dba_at_remove_spam.peasland.com> wrote i

> Sure, you can write routines that compute time in fractional seconds,
> using Java or External C calls. Heck, you can even do this in PL/SQL
> with the GET_TIME function. But the trick comes in storing those
> computed values and doing date arithmetic with them!!!!

Er.. what trick? You store it in decimal format (as C++/Delphi/etc. does it too).

Then you use standard maths on it (as C++/Delphi/etc. does it too). If it makes the SQL statement a tad complex with too many nested bracket expressions, you wrap that into a PL/SQL function.

This is not a problem that requires "tricks" to solve. Just plain logic using standard Oracle features.

--
Billy
Received on Mon Jul 28 2003 - 00:26:08 CDT

Original text of this message

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