The forum will be unavailable for maintenance at some point from Friday, April 13 at 19:00 EDT until Sunday, April 15 at 23:59 EDT. Downtime will be minimized but the exact timing is unknown.

I have a date column (data type = date), and I want to select rows based on a range so from one date to another. How could this be accomplished?

asked 22 Aug '13, 10:19

t2nator's gravatar image

accept rate: 0%

where my_date_column between :date1 and :date2
permanent link

answered 22 Aug '13, 11:20

Dmitri's gravatar image

accept rate: 11%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 22 Aug '13, 10:19

question was seen: 1,399 times

last updated: 22 Aug '13, 11:20