List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:August 16 2002 1:45pm
Subject:Re: Date comparison assistance please
View as plain text  
describe user.

Paul Maine wrote:

>I have a column defined in a table as type date. I desire to include a date
>comparison in the WHERE clause of the following statement. The following
>statement is not working correctly, I suspect that there is a formatting
>issue. The statement returns true even if USER.elig_date has an earlier date
>then CURDATE().
>
>Here is my sql query:
>select user_id from USER where USER.elig_date >= CURDATE() ;
>
>Thank You
>
>
>---------------------------------------------------------------------
>Before posting, please check:
>   http://www.mysql.com/manual.php   (the manual)
>   http://lists.mysql.com/           (the list archive)
>
>To request this thread, e-mail <mysql-thread117242@stripped>
>To unsubscribe, e-mail
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>


Thread
Date comparison assistance pleasePaul Maine16 Aug
  • Re: Date comparison assistance pleaseGerald Clark16 Aug
  • Re: Date comparison assistance pleaseEgor Egorov16 Aug