Try SELECT * FROM agentdaily where dateWorked BETWEEN '2010-10-01' AND '2011-02-01'
On 2/11/2011 11:38 AM, Torrent Girl wrote: > Hello all. > > This simple query is not retrieving any records in mySQL: > > SELECT * FROM agentdaily where dateWorked BETWEEN '10/01/2010' AND > '02/01/2011' > > The data type for dateWorked in varchar. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:3381 Subscription: http://www.houseoffusion.com/groups/sql/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/sql/unsubscribe.cfm