From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Barry Bell <Barry_Bell@harte-hanks.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: Passing numeric Bind variables to ODBC driver convers to "Double precision"
Date: Thu, 12 Apr 2012 22:24:09 +0900
Message-ID: <4F86D779.8050100@tpf.co.jp> (raw)
In-Reply-To: <542B943ED5D72E408BF9CBBD61ABC94D52D10C5C@VA3DIAXVSC31.RED001.local>
References: <542B943ED5D72E408BF9CBBD61ABC94D52D10C5C@VA3DIAXVSC31.RED001.local>
Hi Barry,
(2012/04/09 23:35), Barry Bell wrote:
>
> Using the lastest of ODBC ANSI driver for windows 32bit ver 9.00.03 Calling from MS VFP 9.0
>
> public nvar as interger
> nvar=1
> running the following sql:
> "( select function_pkg(?nvar) "
>
> The bind variable nvar will show in postgres as "Double Precision" format instead of integer(or numeric)
>
> Is there a setting on the ODBC driver for incoming vairables?
Are you turning on the Server side prepare option?
regards,
Hiroshi Inoue
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: inoue@tpf.co.jp, Barry_Bell@harte-hanks.com
Subject: Re: Passing numeric Bind variables to ODBC driver convers to "Double precision"
In-Reply-To: <4F86D779.8050100@tpf.co.jp>
References: <542B943ED5D72E408BF9CBBD61ABC94D52D10C5C@VA3DIAXVSC31.RED001.local> <4F86D779.8050100@tpf.co.jp>
* 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