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

Home -> Community -> Usenet -> c.d.o.misc -> How can I store a boolean data type in a table or data type object?

How can I store a boolean data type in a table or data type object?

From: Rookie <Rookie.Programmer_at_gte.net>
Date: Sat, 19 Feb 2000 05:44:39 GMT
Message-ID: <b5qr4.2334$Z11.32773@dfiatx1-snr1.gtei.net>


I would like to store a boolean data type in a table. Do I use an int, 0 for false and 1 for true, or do I use a char(1) or varchar2(1), 'N' for false and 'Y' for true? Received on Fri Feb 18 2000 - 23:44:39 CST

Original text of this message

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