SQl queries searching by date range

Posted by tecno on Stack Overflow See other posts from Stack Overflow or by tecno
Published on 2010-03-26T10:01:21Z Indexed on 2010/03/26 10:03 UTC
Read the original article Hit count: 316

Filed under:
|
|

Hi,

I have a table in an Access 2007 database, all fields are of type text. Can the following be done using the where clause. If so how?

  • SELECT * from Table1 WHERE (ColumnDate is between 26th and 19th of march 2010)
  • SELECT * from Table1 WHERE (ColumnAge is between 25 and 40)

The usual < <= operators dont seem to work.

Thanks,

© Stack Overflow or respective owner

Related posts about sql

Related posts about query