Re: How to model disjoint date ranges?
From: --CELKO-- <71062.1056_at_compuserve.com>
Date: 21 Jul 2002 14:22:54 -0700
Message-ID: <c0d87ec0.0207211322.17238ff2_at_posting.google.com>
Date: 21 Jul 2002 14:22:54 -0700
Message-ID: <c0d87ec0.0207211322.17238ff2_at_posting.google.com>
>> I have an attribute that changes with time in discrete steps e.g.
if something has a title that can change every now and then and we
need to store the history of previous titles. <<
CREATE TABLE Foobar
(foo_key INTEGER NOT NULL PRIMAREY KEY,
...
start_date TIMESTAMP NOT NULL,
end_date TIMESTAMP, --null means still on-going
...);