Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle datatypes
On Thu, 29 Apr 1999 15:12:55 GMT, z_e_n_at_my-dejanews.com wrote:
>Hello,
>
> Someone know how is the better way to represent the boolean (logical)
>datatype in the Oracle 8.
>
Traditionally you would use a varchar2(1) column with values Y or N - it is easy to read in queries etc.
For use with VB I prefer number(1) with -1 and 0 as these can be fetched into a boolean variable directly. Received on Sun May 02 1999 - 03:58:43 CDT
![]() |
![]() |