Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use the time portion of a datetime column
Message
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
How to use the time portion of a datetime column
Miscellaneous
Thread ID:
00557574
Message ID:
00557574
Views:
70
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
Map
View

Click here to load this message in the networking platform