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: Database design, replacing null by a default value

RE: Database design, replacing null by a default value

From: Miller, Jay <JayMiller_at_TDWaterhouse.com>
Date: Thu, 31 Oct 2002 10:34:23 -0800
Message-ID: <F001.004F8C24.20021031103423@fatcity.com>


That really depends on what the real data looks like since it has to be absolutely distinct.

For example if all your numeric data is positive then a value of -1 easily identifies the "null" data. If -1 is a valid value then this doesn't work.

How about 'null' for the varchar2 column?

Jay Miller

-----Original Message-----
Sent: Thursday, October 31, 2002 9:59 AM To: Multiple recipients of list ORACLE-L

Hi,

We're in the process of writing functionnal specs for a system which is like a DW but instead of a DW the staging area push the data in Siebel.

If we replaced null by something else.
What would you choose :

   for a varchar field ?
   for a numeric field ?

Someone has proposed blanks for the character field but I'm not comfortable with that.

TIA



Stéphane Paquette
DBA Oracle et DB2, consultant entrepôt de données Oracle and DB2 DBA, datawarehouse consultant stephane_paquette_at_yahoo.com

Lèche-vitrine ou lèche-écran ?
magasinage.yahoo.ca
--

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

Author: =?iso-8859-1?q?paquette=20stephane?=   INET: stephane_paquette_at_yahoo.com
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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).
--

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

Author: Miller, Jay
  INET: JayMiller_at_TDWaterhouse.com
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Thu Oct 31 2002 - 12:34:23 CST

Original text of this message

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