From: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
To: Uwe Nowag <nowag@mbg-solutions.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: MS Access adds always actual day in time defined postgres column
Date: Sat, 16 Dec 2017 10:00:46 +0900
Message-ID: <d7dbfd09-e587-1e7a-e01c-5a9d3d0fdba7@dream.email.ne.jp> (raw)
In-Reply-To: <34349AFCC40489478DC33CE574F0136F4E97626D@MBG-Mail.mbg.local>
References: <34349AFCC40489478DC33CE574F0136F4E97626D@MBG-Mail.mbg.local>
Hi,
On 2017/12/15 22:32, Uwe Nowag wrote:
>
> Hallo,
>
> We are moving BackEnd tables from a large MS Access application to
> postgresql.
>
> In one table we have a field “Zeit" defined in postgres as
>
>
> time(0) without time zone DEFAULT ('now'::text)::time(0) without time
> zone,
>
Why don't you use timestamp?
regards,
Hiroshi Inoue
>
> The linked table inside Access shows the actual day in front of the
> time value. Using the 24-hour format for displaying time values in
> Access looks fine. But by entering the field, the day appears
> automatically.
>
> If I import the same table via ODBC to excel, I have the same
> behavior: the day appears as prefix inside the time cell.
> In the non Microsoft Application tool "ODBC query tool v1.39" (Jaime
> de los Hoyos) everything works fine.
> The problem probably concerns only Microsoft products.
>
>
> Cause I can't merge the time and the day field together in one
> timestamp field, I am looking for a workaround.
>
>
> we use
> MS Access 2010
> ODBC: PostgreSQL Unicode 10.00.00 PSQLODBC35W.DLL 13.10.2017
> PostgreSQL 10.1 as backend on ubuntu
>
> thanks
>
>
> Mit freundlichen Grüßen | Best regards | Cordialement
>
> Uwe Nowag
> Datenbanken/Software | Software Development
>
> T +49 30 844168-502
> F +49 30 844168-503
> M +49 175 5821272
> nowag@mbg-solutions.com
>
>
> Mastbau Gärtner GmbH | Naumannpark | Haus 12 | Wilhelm-Kabus-Straße 46
> | 10829 Berlin | Germany
> Amtsgericht Charlottenburg Nr. 96 HRB 20003 | USt.-Id.-Nr.: DE 136 728 360
> Geschäftsführer: Jens Gockel, Karl-Heinz Simon
> www.mbg-solutions.com <http://www.mbg-solutions.com;
>
Attachments:image001.gif (image/gif, 2.4K) downloadview image
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: h-inoue@dream.email.ne.jp, nowag@mbg-solutions.com
Subject: Re: MS Access adds always actual day in time defined postgres column
In-Reply-To: <d7dbfd09-e587-1e7a-e01c-5a9d3d0fdba7@dream.email.ne.jp>
References: <34349AFCC40489478DC33CE574F0136F4E97626D@MBG-Mail.mbg.local> <d7dbfd09-e587-1e7a-e01c-5a9d3d0fdba7@dream.email.ne.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