Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

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.6k41133
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: 2,711 times

last updated: 22 Aug '13, 11:20