Access datetime oddities

Поиск
Список
Период
Сортировка
От Patrick Welche
Тема Access datetime oddities
Дата
Msg-id 20010316195124.P20615@quartz.newn.cam.ac.uk
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: jreniz
Дата:
Сообщение: Trigger problem
Следующее
От: Althaf Hussain
Дата:
Сообщение: need help to communicate from applet to servlet