You are here: Re: WHERE (06/06/1978 < 06/06/1979) returns false ? « PHP SQL « IT news, forums, messages
Re: WHERE (06/06/1978 < 06/06/1979) returns false ?

Posted by David Kerber on 01/07/08 14:28

In article <15e0d$4780a0b4$541983fa$1580@cache3.tilbu1.nb.home.nl>,
spam@hotmail.com says...
> Maybe quotes are needed,
>
> So far this seems to be working:
>
> AND (''06/06/1978'' < ''06/06/1979'')
>
> I'll try using quotes one more time ;)

It's comparing them as strings, not dates. If you put them in the
format yyyy-mm-dd, either one will work.

--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация