pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedSQL_BIT and bit question
2+ messages / 2 participants
[nested] [flat]
* SQL_BIT and bit question
@ 2005-03-11 11:25 lothar.behrens@lollisoft.de
0 siblings, 0 replies; 2+ messages in thread
From: lothar.behrens@lollisoft.de @ 2005-03-11 11:25 UTC (permalink / raw)
To: pgsql-odbc
Hi,
I am trying to use a column with type bit and I get a type of SQL_CHAR if I call
SQLDescribeCol. Is this correct ?
If I call it for a type of int or integer, I get back SQL_INTEGER.
How and what datatypes can I use to have similar semantics to bit ?
Thanks
Lothar
--
Lothar Behrens www.lollisoft.de
Rosmarinstr 3 My public project:
40235 Düsseldorf http://sourceforge.net/projects/lbdmf
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: SQL_BIT and bit question
@ 2005-03-11 11:43 Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
0 siblings, 0 replies; 2+ messages in thread
From: Joost Kraaijeveld @ 2005-03-11 11:43 UTC (permalink / raw)
To: lothar.behrens@lollisoft.de; pgsql-odbc
Hi Lothar,
pgsql-odbc-owner@postgresql.org schreef:
> Hi,
>
> I am trying to use a column with type bit and I get a type of
> SQL_CHAR if I call SQLDescribeCol. Is this correct ?
>
> If I call it for a type of int or integer, I get back SQL_INTEGER.
>
> How and what datatypes can I use to have similar semantics to bit ?
What happens if you uncheck the "Bools as char" in the "Data options" section of page 1 of the datasources settings (I cannot check what it does because I have no database with a SQL_BIT column)?
Groeten,
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.Kraaijeveld@Askesis.nl
web: www.askesis.nl
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-03-11 11:43 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-03-11 11:25 SQL_BIT and bit question lothar.behrens@lollisoft.de
2005-03-11 11:43 Re: SQL_BIT and bit question Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox