You are here: Re: SQL Between Dates « MsSQL Server « IT news, forums, messages
Re: SQL Between Dates

Posted by @sh on 09/13/06 12:54

Apologies for your time, I no longer seem able to reproduce the error so
perhaps your suggestion that I had made a mistake in the date format perhaps
is true - but I do appreciate your help!

Have a good week!

Thanks, @sh


"Roy Harvey" <roy_harvey@snet.net> wrote in message
news:eivfg2ldhsdfltpdggkr64boechkn78kal@4ax.com...
>I don't know. An example that fails tells us a lot more than one that
> works. The question is, can you reproduce the failures?
>
> One thought came to mind just now. A mistake in typing in the date
> string resulted in a string that could not be converted to a datetime
> would cause the sort of problem under discussion.
>
> Roy
>
> On Wed, 13 Sep 2006 13:42:17 +0100, "@sh" <spam@spam.com> wrote:
>
>>Hang on......this query now works fine...what has changed or am I being
>>silly?
>>
>>SELECT *
>>FROM sol_session
>>WHERE (DateGiven >= '10/09/2006') AND (DateGiven <= '12/09/2006')
>>ORDER BY dategiven DESC
>>
>>Is it the brackets?
>>
>>Cheers, @sh

 

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

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