Use WHERE myDate LIKE '5/7/2003%' And you will get all your results. :)
- Chris -----Original Message----- From: Bosky, Dave [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 3:45 PM To: SQL I'm having trouble returning records that match a specific date. I have a datetime(8) field called myDate with the following data: 5/7/2003 8:00:00 AM Now if I try to query all records that match the date it doesn't return any matches. SELECT * FROM myTable WHERE myDate = '5/7/2003' I must be overlooking something really simple. Thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=6 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=6 Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481
