From: | "Jeffrey Silberberg" <jsilberberg(at)mindspring(dot)com> |
---|---|
To: | "PGSQL" <pgsql-general(at)postgreSQL(dot)org> |
Subject: | Use of datepart() on TimeStamp. |
Date: | 2000-01-28 16:45:33 |
Message-ID: | 000d01bf69af$2a3e9140$0dc810ac@desktop |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Using Access 97 I have a Database field defined as a time stamp being
pulled in as a data type of date/time which is correct. My problem is that
I now what to add some criteria to select it and have tried both the
criteria of Date()-1 which results in an empty set, and createing a new
field =datepart("yymmdd", [fieldname] which results in the new column being
filed with #Error instead of a valid date only. If I do a Between #date
time# and #date time# in the criteria this does work but not if I do
#Date()-7# and # Date()#
It's Win/95, ODBC/32, PostgreSQL 6.40.00.05 drivers, and yes, when I
look at the data being mapped back I do get a date and time from the actual
database.
Anyone have any ideas how I can fix this one ??
Thks,
Jeffrey M. Silberberg
CompuDesigns, Inc.
(770) 399-9464
From | Date | Subject | |
---|---|---|---|
Next Message | LIVIU ILIE | 2000-01-28 17:01:28 | how to install postgresql-6.5.1 binaries on nt |
Previous Message | Jackson, Kevin J. | 2000-01-28 16:08:27 | error message |