Access datetime oddities - Mailing list pgsql-interfaces

From Patrick Welche
Subject Access datetime oddities
Date
Msg-id 20010316195124.P20615@quartz.newn.cam.ac.uk
Whole thread Raw
List pgsql-interfaces
I am trying to get M$ Access and postgresql to talk via an odbc driver. Queries
involving "datetime" on M$ Access seem to include things like

'#15:10:00#'

which allegedly means "what's in quotes is a datetime" and

{t "timeslice"}

where timeslice in the postgresql table which is "linked" is a timestamp
with time zone and apparently means CAST (timeslice AS TIME), but of course
M$ Access doesn't seem to know about CAST().

Having looked at 4.7 of ansi-iso-9075-2-1999, there is no mention of # nor
{t ...}, {d ...}. Where do these come from? Is this something to do with the
odbc in between? (they appear in the odbc.log)

Basically it means that queries such as

select ... where cast(timeslice as time)>'15:10:00'

can't be done...

Thoughts?

Cheers,

Patrick


pgsql-interfaces by date:

Previous
From: jreniz
Date:
Subject: Trigger problem
Next
From: Althaf Hussain
Date:
Subject: need help to communicate from applet to servlet