Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Database design, replacing null by a default value
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
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).
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