RE: [PHP-DB] SQL finding a date problem

From: Date: Fri, 23 Feb 2001 15:36:31 +0000
Subject: RE: [PHP-DB] SQL finding a date problem
Groups: php.db 
Request: Send a blank email to php-db+get-6912@lists.php.net to get a copy of this message
Try this: SELECT * from schedule WHERE EST_DATE = '2001-03-26'; By the way, what Database are you using? Josh Hoover KnowledgeStorm, Inc. Searching for a new IT solution for your company? Need to improve your product marketing? Visit KnowledgeStorm at www.knowledgestorm.com to learn how we can simplify the process for you. KnowledgeStorm - Your IT Search Starts Here > Can someone tell me how to search for a date with SQL? I have > tried the > following > > SELECT * from schedule WHERE EST_DATE = '03/26/2001'; > > I get the error > Incompatible datatypes in expression : = , SQL state 37000 > > Thanks.

« previous php.db (#6912) next »