From: Justin Graf <justin@magwerks.com>
To: Richard Broersma <richard.broersma@gmail.com>
Cc: Peter Koczan <pjkoczan@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Domains, casts, and MS Access
Date: Wed, 04 Aug 2010 15:24:44 -0500
Message-ID: <4C59CC8C.1010206@magwerks.com> (raw)
In-Reply-To: <AANLkTimDr=5+jUOZ0XuGDYm4wRTj2w9asN18bUU6_a4O@mail.gmail.com>
References: <AANLkTi=3D3HQborwBRTMfiPtKDFzRzQLtkHJ-E=3Dm31vkUT@mail.gma?= =?utf-8?Q?il.com>
<AANLkTim5LFi2pGHoVOhyscWDxpvRUEZdGQ0vxMkOEppT@mail.gmai?= =?utf-8?Q?l.com>
<AANLkTimP3GxKof7=5Fr7VrpjWJRM1HjUC11RnHKyyiyS4A@mail.gmail?= =?utf-8?Q?.com>
<AANLkTimDr=3D5+jUOZ0XuGDYm4wRTj2w9asN18bUU6=5Fa4O@mail.gmail.?= =?utf-8?Q?com>
On 8/4/2010 1:56 PM, Richard Broersma wrote:
> On Wed, Aug 4, 2010 at 11:51 AM, Peter Koczan<pjkoczan@gmail.com> wrote:
>
>
>> This is one of my first forays into ODBC, so I didn't know that was a
>> possibility. Is there any place where these are documented? Searching
>> for ODBC options yields info on connection options, but none on
>> behavior that I could find.
>>
> I know that there are a couple of options that affect the
> representation of Booleans in the odbc driver. I'm not sure it will
> do what you need though.
>
> However, here is the official documentation: (hopefully it helpful)
>
> http://psqlodbc.projects.postgresql.org/
>
>
>
Yes there is an option to change bools to char
* *Data Type Options:* affects how some data types are mapped:
o /Text as LongVarChar/: PostgreSQL TEXT type is mapped to
SQLLongVarchar, otherwise SQLVarchar.
o /Unknowns as LongVarChar/: Unknown types (arrays, etc) are
mapped to SQLLongVarChar, otherwise SQLVarchar
o /Bools as Char/: Bools are mapped to SQL_CHAR, otherwise to
SQL_BIT.
My memory is fuzzy but there are some additional settings in Access that
allows data type mapping...
All legitimate Magwerks Corporation quotations are sent in a .PDF file attachment with a unique ID number generated by our proprietary quotation system. Quotations received via any other form of communication will not be honored.
CONFIDENTIALITY NOTICE: This e-mail, including attachments, may contain legally privileged, confidential or other information proprietary to Magwerks Corporation and is intended solely for the use of the individual to whom it addresses. If the reader of this e-mail is not the intended recipient or authorized agent, the reader is hereby notified that any unauthorized viewing, dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and destroy all occurrences of this e-mail immediately.
Thank you.
Attachments:
[text/x-vcard] justin.vcf (256B, ../4C59CC8C.1010206@magwerks.com/3-justin.vcf)
download | inline:
begin:vcard
fn:Justin Graf
n:Graf;Justin
org:Magwerks Corp
adr:;;501 Commerce Drive;Danville ;IN;46122;USA
email;internet:justin@magwerks.com
tel;work:317-241-8011 ext 703
tel;fax:317-241-8015
x-mozilla-html:FALSE
url:www.magwerks.com
version:2.1
end:vcard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: justin@magwerks.com, richard.broersma@gmail.com, pjkoczan@gmail.com
Subject: Re: Domains, casts, and MS Access
In-Reply-To: <4C59CC8C.1010206@magwerks.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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