You are here: Re: Searching a datetime field by time « MsSQL Server « IT news, forums, messages
Re: Searching a datetime field by time

Posted by Eric J. Holtman on 01/14/06 01:37

"Andrew Chalk" <achalk@magnacartasoftware.com> wrote in news:u1Bxf.210$F_
3.61@newssvr29.news.prodigy.net:

I screwed it up. If you really want everything between 11 and 1,
you want


select * from Events
where datpart(hh,evt_time) between 11 and 12

 

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

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