Oracle Date format - Strange behaviour
Posted
by Sauron
on Stack Overflow
See other posts from Stack Overflow
or by Sauron
Published on 2009-09-11T07:03:20Z
Indexed on
2010/05/12
20:24 UTC
Read the original article
Hit count: 223
I am writing a SQL query to retrive data from a table between two dates. I give two inputs as shown. I convert the Date TO_CHAR(DD/MON/YYYY).
1. StartDate > 01/SEP/2009
EndDate < 01/OCT/2009
2. StartDate > 01/SEP/2009
EndDate < 1/OCT/2009
I dont get any result for the first input. When I change it to second one i get the result. What is the difference between 01/OCT/2009 1/OCT/2009
© Stack Overflow or respective owner