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

Posted by @sh on 09/13/06 10:59

For some reason guys my SQL string isn't working and I'm probably doing
something stupid?

SELECT *
FROM sol_session
SELECT *
FROM SOL_Session
WHERE DateGiven > '10/09/2006' AND <
'13/09/2006'

The 'DateGiven' field is a DateTime field, and I can't see quite whats
wrong??

I simply get a Syntax error!

Cheers, Ash

 

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

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