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

Home -> Community -> Usenet -> comp.databases.theory -> Re: 3 value logic. Why is SQL so special?

Re: 3 value logic. Why is SQL so special?

From: Paul <paul_at_see.my.sig.com>
Date: Mon, 11 Sep 2006 19:24:56 +0100
Message-ID: <mfabg2h28m5ts9laighrf0kl9so9kdqpei@4ax.com>

Bob Badour <bbadour_at_pei.sympatico.ca> wrote:

> > FWIW, I try to create subtypes
> > where there are no nulls.
 

> That's nice. I simply don't allow null in any database I design.

Why not?

(Personal work experience). Aircraft. Flight Schedules.

Dep time,
Arr time,

&c.

Scheduled_Departure_Time = 'DD:MM:YYYY 10:15' Actual_Departure_Time = <null> untill we know different, then we put in a value.

Otherwise you have to take account of the fact that these aircraft took off in 9999 or else in 0001 or whatever.

Null is easier. The aircraft hasn't taken off yet, we don't know when it will take off, or even if it will take off.

Paul...

-- 

plinehan __at__ yahoo __dot__ __com__

XP Pro, SP 2, 

Oracle, 9.2.0.1.0 (Enterprise Ed.)
Interbase 6.0.1.0;

When asking database related questions, please give other posters 
some clues, like operating system, version of db being used and DDL.
The exact text and/or number of error messages is useful (!= "it didn't work!").
Thanks.
 
Furthermore, as a courtesy to those who spend 
time analysing and attempting to help, please 
do not top post.
Received on Mon Sep 11 2006 - 13:24:56 CDT

Original text of this message

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