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: The BOOLEAN data type

Re: The BOOLEAN data type

From: Paul <paul_at_not.a.chance.ie>
Date: Tue, 1 Apr 2003 02:21:39 +0100
Message-ID: <MPG.18f2f9fb9888aaa29896af@news1.eircom.net>

> Aside from the destruction of the foundations of SQL, Booleans are
> usually, but not always, a sign of bad programming.

I'm confused here! Why is it bad?

I'm working on a project where we store people's gender - what's wrong with using a boolean for that?

> Someone is
> storing the state of the database at one point in time as a flag. It
> is a computed column and we all know better than to store redundant
> data like that.

How does one "compute" gender?

Paul...   Received on Mon Mar 31 2003 - 19:21:39 CST

Original text of this message

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