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:33

In article <b7e77$4780f24d$541983fa$15576@cache5.tilbu1.nb.home.nl>,
spam@hotmail.com says...
> The finally code would have looked something like:
>
> (Birthdate < '06/06/1979')
>
> Since Birthdate is a date field the SQL interpreter could have known the
> string should contain a date.

Or did it think you wanted to convert the date to a string and compare
as strings? It has no way of knowing what you want.

>
> Anything else would not make any sense ?!?

--
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

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