Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: boolean types and portability
INT and SMALLINT are just subtypes of NUMBER. Just use NUMBER(1).
Daniel Morgan
Neil Zanella wrote:
> Hello,
>
> I would like to know what the most portable way of
> implementing a table with boolean values is in Oracle
> as it does not have a BOOL or BOOLEAN type and it seems
> like INT or SMALLINT or similar must be used instead.
>
> Thanks,
>
> Neil
Received on Fri Mar 22 2002 - 11:20:17 CST
![]() |
![]() |