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

t2nator
59225
accept rate: 0%


where my_date_column between :date1 and :date2
permanent link

answered 22 Aug '13, 11:20

Dmitri's gravatar image

Dmitri
1.5k41132
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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×90

question asked: 22 Aug '13, 10:19

question was seen: 1,153 times

last updated: 22 Aug '13, 11:20