Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001011

Re: [PHP-DB] Retrieve listings between two dates? From: Dan Malcolm (dmalcolm <email protected>)
Date: 01/09/01

Tried:
SELECT * FROM calendar WHERE Year < #2000-12-31# AND Year > #2000-01-01#
ORDER BY Start ASC

supplied by "mqqla". I used his format against an Access 2000 database and
it worked perfectly.

dm

""Keith Spiller"" <larentium <email protected>> wrote in message
news:03f301c03e46$2515c370$6bdaead8 <email protected>
Using the select command, how would you retrieve listings only between
certain dates?

"SELECT * FROM calendar WHERE Year < '2000-12-31' AND > '2002-01-01' ORDER
BY Start ASC" ??? (This does not work)...

Is this even possible?

Keith

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>