value="#now()@" cfsqltype="CF_SQL_TIMESTAMP"> if you want the time to be
supplied by the CF server.
-----Original Message-----
From: Parker, Kevin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 29 October 2003 3:29 p.m.
To: CF-Talk
Subject: Now then
How do you handle now() in a SELECT statement as a WHERE clause - it keeps
falling over on me. I've tried quotes, single quotes hash (pound signs)
etc... I'm trying to add an additional WHERE clause that checks that the
expiry date for the record is not today or before...
SELECT DISTINCT CarMake
FROM directory_CarWeek
WHERE Available = 1 AND ExpiryDate > <some way of expressing now>
ORDER BY CarMake
TIA!!!
**********
Kevin Parker
Web Services Manager
WorkCover Corporation
e: [EMAIL PROTECTED]
w: www.workcover.com
p:+ 61 8 8233 2548
f: +61 8 8233 2282
m: 0418 806 166
**********
************************************************************************
This e-mail is intended for the use of the addressee only. It may
contain information that is protected by legislated confidentiality
and/or is legally privileged. If you are not the intended recipient you
are prohibited from disseminating, distributing or copying this e-mail.
Any opinion expressed in this e-mail may not necessarily be that of the
WorkCover Corporation of South Australia. Although precautions have
been taken, the sender cannot warrant that this e-mail or any files
transmitted with it are free of viruses or any other defect.
If you have received this e-mail in error, please notify the sender
immediately by return e-mail and destroy the original e-mail and any
copies.
************************************************************************
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

