Re: [INTERFACES] Access'97 and ODBC

From: Byron Nikolaidis <byronn(at)insightdist(dot)com>
To: "Jose' Soares Da Silva" <sferac(at)bo(dot)nettuno(dot)it>
Cc: "Julia A(dot)Case" <julie(at)hub(dot)org>, "Jose' Soares Da Silva" <sferac(at)proxy(dot)bazzanese(dot)com>, interfaces postgres <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] Access'97 and ODBC
Date: 1998-04-27 14:40:17
Message-ID: 354498D0.72729A92@insightdist.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

Hello,

The ODBC driver can not yet handle multiple datestyle formats. Currently,
it expects dates to be in US format. There will be a future option that
allows you to configure that for the driver or per datasource.

Byron

Jose' Soares Da Silva wrote:

> Thanks Julie. Now it works, but now I have a little problem about
> date formats.
> I have a table with field1 DATE and field2 TIMESTAMP. If I insert data
> into these fields, field2 looks OK, but Access97 show me a strange
> date on field1.
>
> This is Access97 output:
> field1: 27/7/99
> field2: 1998-04-27 12:20:21+02
>
> This is psql output:
> Field | Value
> -- RECORD 0 --
> field1| 1998-04-27
> field2| 1998-04-27 12:20:21+02
> ----
> PS: My DateStyle is setting to 'ISO'
> Jose'

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1998-04-27 14:41:33 Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Previous Message Tom Lane 1998-04-27 14:39:27 Re: [HACKERS] Re: retrieving varchar size

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 1998-04-27 14:41:33 Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Previous Message Tom Lane 1998-04-27 14:39:27 Re: [HACKERS] Re: retrieving varchar size