General information
Forum:
Microsoft SQL Server
Title:
How to use the time portion of a datetime column
I'd like to find all rows where the time portion of a date_time column is between 11:00AM and 1:15PM.
I seem to get into quite a rat's nest of convert(), datediff() and dateadd() combinations when looking for a simple way to do this.
Thanks,
Mike
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only