Re: [Info-Ingres] Why BOOLEAN data type not provided in Ingres
- From: "Ian Kirkham" <Ian.Kirkham@xxxxxxxxxx>
- Date: Wed, 13 Feb 2008 04:20:17 -0500
We do support boolean in a virtual sense in adf in the comparison operators and logical operators in the parser but these have never been instanciated as a formal type in the database. I think there were once supported types of BIT and BITVECTOR but not BOOLEAN.
Regards,
Ian
-----Original Message-----
From: info-ingres-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx [mailto:info-ingres-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Roy Hann
Sent: 13 February 2008 08:30
To: info-ingres@xxxxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Info-Ingres] Why BOOLEAN data type not provided in Ingres
"Laframboise André" <andre.laframboise@xxxxxxxxxxxxx> wrote in message
news:mailman.31.1202883873.2607.info-ingres@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Srikanth,
I don't think boolean is part of the SQL standard. AFAIK, the only
mainstream DB that supports it
is MySQL (sort of).
Most use char(1) or number(1) to emulate boolean type values (1,0,'T','F',
etc).
Or varchar(1). :-(
A boolean type would have the slight advantage of a limited, well-known set
of possible values, but not much else.
Roy
.
- References:
- Prev by Date: Re: [Info-Ingres] Why BOOLEAN data type not provided in Ingres
- Next by Date: Re: Why BOOLEAN data type not provided in Ingres
- Previous by thread: Re: [Info-Ingres] Why BOOLEAN data type not provided in Ingres
- Next by thread: Re: [Info-Ingres] Why BOOLEAN data type not provided in Ingres
- Index(es):
Relevant Pages
|