R: Date types in where clause of PreparedStatement

From: "Paolo Sinigaglia" <sini(at)informativesystem(dot)it>
To: <pgsql-general(at)postgresql(dot)org>
Subject: R: Date types in where clause of PreparedStatement
Date: 2001-03-01 16:33:21
Message-ID: 00ed01c0a26d$5461bb80$0f00140a@paolo.informativesystem.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


>Can anybody show any reason why the code using a prepared
> statement with a where clause using a date won't find any records
> on PostgreSQL but WILL work using Access and the jdbc-odbc
> bridge?

Assuming you are running PostgreSQL on a *nix machine and the odbc client on
a Win* different machine, couldn't be a problem of different locale
settings?

Using Delphi BDE I had **a lot** of troubles on an all-windows-98 network
because of different locale settings among the clients. First in all,
day-month swapping in dates (dd-mm-yyyy and mm-dd-yyyy formats mixed through
the network).

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-03-01 17:05:45 Re: Postgres eats up memory when using cursors
Previous Message Tom Lane 2001-03-01 15:59:43 Re: Thought on OIDs