Re: The BOOLEAN data type
Date: Tue, 1 Apr 2003 14:20:34 +0100
"Paul Vernon" <paul.vernon_at_ukk.ibmm.comm> wrote in message
> "--CELKO--" <71062.1056_at_compuserve.com> wrote in message
> > [...] Booleans are
> > usually, but not always, a sign of bad programming.
> that would surprise me if it were true, but then what has programming got
> do with database theory?
> > Someone is
> > storing the state of the database at one point in time as a flag.
> I'm not at all sure what that means
I *think* that the idea was apps that use (or would like to) a boolean value for (say) SHIPPED on an order item line. There are of course other occassions where the attribute really is a boolean, and as others have said omitting the datatype does not prevent developers from producing roll-your own implementations of the datatype, and then misusing them.
-- Niall Litchfield Oracle DBA Audit Commission UKReceived on Tue Apr 01 2003 - 15:20:34 CEST