Store time of the day in SQL

Posted by nute on Stack Overflow See other posts from Stack Overflow or by nute
Published on 2009-05-01T18:35:05Z Indexed on 2010/04/15 19:13 UTC
Read the original article Hit count: 226

How would you store a time or time range in SQL? It won't be a datetime because it will just be let's say 4:30PM (not, January 3rd, 4:30pm). Those would be weekly, or daily meetings. The type of queries that I need are of course be for display, but also later will include complex queries such as avoiding conflicts in schedule. I'd rather pick the best datatype for that now.

I'm using MS SQL Server Express 2005.

Thanks!

Nathan

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server