sqlanywhere - How to search in sql for hour/minutes? -
I have to search all the rows with a specific row and a filter with minutes.
Example:
26/05/2009 - 16:00 26/05/2009 - 17:00 10/11/2009 - 09:00 10/11/11 2009 - 10:00 10/11/2009 - 11:00 10/11/2009 - 12:00
I have all the rows hour / minute "17:00" and "18: 00 "with And the date is optional fields.
I do not know how to do this. I am using "SQL anywhere".
View
from that tab * Select where the datepart (hour, (17,18) and datepart (minutes, datemall) = 0 and datepart (second, datmall) = 0
Comments
Post a Comment