Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Represent boolean
alex wrote:
> Hi,
> I'm a new user of Oralce. I would like to know how to represent a
> boolean in an Oracle Database. I try BIT, BOOLEAN but it seems not to
> work. Now, I use a SMALLINT but I would like to know if there is a
> specific type to do it.
> Thanks in advance for your help.
This may well stagger the imagination ... but in Oracle ... BOOLEAN is BOOLEAN as in:
DECLARE myVariable BOOLEAN;
If you are talking about a table field ... you can define it any way you want but Boolean is not an option.
Daniel Morgan Received on Sat Jun 01 2002 - 18:13:33 CDT
![]() |
![]() |