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

Home -> Community -> Mailing Lists -> Oracle-L -> Nulls, dates, database independence - was Useful Books / C J Date

Nulls, dates, database independence - was Useful Books / C J Date

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Fri, 28 May 2004 09:07:20 +0100
Message-ID: <011801c4448a$d02137b0$7102a8c0@Primary>

Isn't it how the positive marketing phrase

    "database independent"
turns into the practical implementation:

    "works badly everywhere"

Using character strings for dates is one way of helping Oracle's cost based optimisation to go wrong - and I would expect it to be a generic problem

Using daft values instead of nulls is another way of helping Oracle's cost based optimisation to go wrong - and I would expect it to be a generic problem

Regards

Jonathan Lewis

http://www.jlcomp.demon.co.uk

http://www.jlcomp.demon.co.uk/faq/ind_faq.html The Co-operative Oracle Users' FAQ

http://www.jlcomp.demon.co.uk/seminar.html Optimising Oracle Seminar - schedule updated May 1st

: SAP doesn't use nulls. For char fields they typically use a single space,
: for dates (which they store in chars) they use '00000000', etc.etc.
: And yes, it is every bit as ugly and horrendous as you describe ... I
: assume in their case it is partly a legacy issue and partly a database
: independence issue ?
:
: mvg/regards
:
: Jo
:



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Fri May 28 2004 - 03:04:13 CDT

Original text of this message

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