Re: 3 value logic. Why is SQL so special?
Date: Tue, 12 Sep 2006 19:42:26 +0100
Message-ID: <hbvdg2tc906bu3oo64175fjadngt56v351_at_4ax.com>
Bob Badour <bbadour_at_pei.sympatico.ca> wrote:
> > Otherwise you have to take account of the fact that these aircraft
> > took off in 9999 or else in 0001 or whatever.
> Or whatever. One describes the actual departure time of a flight in a
> relation describing actual departures and not in a relation describing
> aircraft.
What value would *_you_* put in for *_Actual_Departure_Time_* in such a table?
> > 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.
> How is null easier than not inserting anything into an actual departures
> relation?
The relation has to exist before the flight takes off - the Scheduled time is there, the pilot's name might be there, the aircraft type might be there, but the actual time is a field which should be in the table, with a null value until such time as the Ops staff are happy that it has taken off - unless you are suggesting a separate table?
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 Tue Sep 12 2006 - 20:42:26 CEST