pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tobias Wendorff <tobias.wendorff@tu-dortmund.de>
To: Jan Wieck <jan@wi3ck.info>
Cc: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
Cc: pgsql-odbc@lists.postgresql.org
Subject: Re: NUMERIC type makes trouble in MS Access
Date: Sun, 27 May 2018 18:35:59 +0200
Message-ID: <1f71eedeb0316b4de796d0a49ecdbd2f.squirrel@webmail.tu-dortmund.de> (raw)
In-Reply-To: <CAGBW59dLVsj+wO9AGqtQ7EUSnNO-tXuAhh==G+muhLLPwO34Gg@mail.gmail.com>
References: <16ce8f663efa83704dbebffd20ebde29.squirrel@webmail.tu-dortmund.de>
	<CAGBW59dLVsj+wO9AGqtQ7EUSnNO-tXuAhh==G+muhLLPwO34Gg@mail.gmail.com>

Am So, 27.05.2018, 05:18 schrieb Jan Wieck:
> Anything that is exact precision in the database should never
> be handled as "double" in any driver. That is a serious bug and
> a possible violation of accounting laws in many countries.

So SQL_NUMERIC is DOUBLE? Sorry, I'm not an insider ;)

Access supports DECIMAL file type with a range from -9.999... x 10^27
to +9.999... x 10^27 while DOUBLE goes from -1.797 x 10^308 to
1.797 x 10^308.

Actually, older Access had problems with DECIMAL fields in the past,
maybe those got fixed already?

Best regards,
Tobias





view thread (30+ messages)  latest in thread

Message-ID: <1f71eedeb0316b4de796d0a49ecdbd2f.squirrel@webmail.tu-dortmund.de>
Permalink:  ../1f71eedeb0316b4de796d0a49ecdbd2f.squirrel@webmail.tu-dortmund.de/
Also on:    postgresql.org/message-id/1f71eedeb0316b4de796d0a49ecdbd2f.squirrel@webmail.tu-dortmund.de

 · 

reply

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: tobias.wendorff@tu-dortmund.de, jan@wi3ck.info, h-inoue@dream.email.ne.jp
  Subject: Re: NUMERIC type makes trouble in MS Access
  In-Reply-To: <1f71eedeb0316b4de796d0a49ecdbd2f.squirrel@webmail.tu-dortmund.de>
  References: <16ce8f663efa83704dbebffd20ebde29.squirrel@webmail.tu-dortmund.de> <CAGBW59dLVsj+wO9AGqtQ7EUSnNO-tXuAhh==G+muhLLPwO34Gg@mail.gmail.com> <1f71eedeb0316b4de796d0a49ecdbd2f.squirrel@webmail.tu-dortmund.de>

* 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