If I have table with a Date column called "myDate", with values like "2009-08-25 09:00:09.0". I want to select all rows for Aug 25, from 12:00:01 AM until 11:59:59PM and NOTHING for Aug 26. Is it sufficient to simply use the condition:
where myDate between Date '2009-08-25' and Date '2009-08-26'
And I want to select all rows BEFORE Aug 25, not including Aug 25. Can I do:
where myDate < Date '2009-08-25'