Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group