Say I have the following code
Some Sql query… is followed by this condition
AND EndDate < TO_DATE('02/14/2011','MM/DD/YY')+1
Is it that same as
AND EndDate <= TO_DATE('02/14/2011','MM/DD/YY')
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Note: I am assuming based on your to_date formatting that the EndDate is a date field and not a date/time data type.
Both queries should return the same result set. Consider the following:
Both results would yield “TRUE”. What doubts are you having?