Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Nulls, dates, database independence - was Useful Books / C J Date
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/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
:
-- 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
![]() |
![]() |