S
Sproul
I was trying to get frontpage to reurn records from a database between 2
dates, i tried using the query that frontpage uses i.e.
SELECT * FROM Results WHERE (Timestamp > '::start::' OR Timestamp =
'::start::' AND Timestamp < '::finish::' OR Timestamp = '::finish::')
I discovered that for my particular results thit should be
SELECT * FROM Results WHERE ((Timestamp > '::start::' OR Timestamp =
'::start::') AND (Timestamp < '::finish::' OR Timestamp = '::finish::'))
for the start date i can get records greater than and equal to, but for the
finish date i can cane records less than but not equal to.
so i tried modifying the code (using the SQL book i bough last week) and
came up with this
SELECT * FROM Results WHERE (Timestamp >= '::start::') AND (Timestamp <=
'::finish::')
but i still cant return results equal to the finish date.
i also tried using the between clause, the code was verified, but frontpage
didn't like it when it was published.
any ideas.
dates, i tried using the query that frontpage uses i.e.
SELECT * FROM Results WHERE (Timestamp > '::start::' OR Timestamp =
'::start::' AND Timestamp < '::finish::' OR Timestamp = '::finish::')
I discovered that for my particular results thit should be
SELECT * FROM Results WHERE ((Timestamp > '::start::' OR Timestamp =
'::start::') AND (Timestamp < '::finish::' OR Timestamp = '::finish::'))
for the start date i can get records greater than and equal to, but for the
finish date i can cane records less than but not equal to.
so i tried modifying the code (using the SQL book i bough last week) and
came up with this
SELECT * FROM Results WHERE (Timestamp >= '::start::') AND (Timestamp <=
'::finish::')
but i still cant return results equal to the finish date.
i also tried using the between clause, the code was verified, but frontpage
didn't like it when it was published.
any ideas.