> Hello,
> 
> I am still a beginner, but I am trying to learn MySQL.  If you have a 
> date field, and you are using the date field in your where clause, I 
> understand how to use :
> WHERE date="yyyy-mm-dd";      I am trying to find out if there is anyway 
> to use the wildcard character %  in dates like you can in text fields.  
> I wanted to be able to say,
> WHERE date="yyyy-mm-%%" or something to that effect.

WHERE date LIKE "yyyy-mm-%"


---------------------------------------------------------------------
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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to