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

Home -> Community -> Usenet -> c.d.o.server -> Re: Implementation of boolean types.

Re: Implementation of boolean types.

From: Matthias Hoys <idmwarpzone_NOSPAM__at_yahoo.com>
Date: Sun, 17 Jul 2005 12:09:18 +0200
Message-ID: <42da2e4e$0$23781$ba620e4c@news.skynet.be>

"Ach C via DBMonster.com" <forum_at_DBMonster.com> wrote in message news:517044239B0E4_at_DBMonster.com...
>
> Who is responsible to INTERPRET the meaning of 0 and 1? Your
> application? I
> do not like this secret coding style! I prefer char(1) or even
> varchar2(5)
> in this case.
> -Regards
>
>
> --
> Message posted via DBMonster.com
> http://www.dbmonster.com/Uwe/Forums.aspx/oracle/200507/1

See in my other post :

You could then link the table to a small lookup table with the description of the 0 and 1.
0 = male
1 = female

It's called a relational database ;-) Received on Sun Jul 17 2005 - 05:09:18 CDT

Original text of this message

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