Relative time in SQL
It was tongue in Cheek Jamie.
the user wanted to query a 24 hour time period starting at 7AM (or a
specific time - not NOW). So your answer didn't appear to be appropriate
since Now would make the query specific to the current time.
--
Regards,
Tom Ogilvy
"Jamie Collins" wrote in message
om...
"Tom Ogilvy" wrote ...
Sorry, I wasn't aware that the Now function on a database server always
resolved to 7 AM. Thanks for the heads up although that seems kind of
buggy.
I don't think it does. Did you test this at 7am, perchance? <g
On my Jet database, I just executed
SELECT Now();
and I got the expected result of
24/08/2004 09:25:35
being the date/time from the server machine.
Jamie.
--
|