Date should be 'YYYYMMDD'. Leave out the dashes.

Ray Thompson
Tau Beta Pi Headquarters
865-546-4578
www.tbp.org

-----Original Message-----
From: Torrent Girl [mailto:[email protected]] 
Sent: Friday, February 11, 2011 12:53 PM
To: sql
Subject: Re: date range in mySQL not working


That didn't work either.



>Try
>
>SELECT * FROM agentdaily where dateWorked BETWEEN '2010-10-01' AND
'2011-02-01'
>
>
>
>
>On 2/11/2011 11:38 AM, Torrent Girl wrote:
>> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3384
Subscription: http://www.houseoffusion.com/groups/sql/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/sql/unsubscribe.cfm

Reply via email to