How can I compare only the time portion of a DateTime data type in SQL Server 2005? For example, I want to get all records in which MyDateField is after a specific time. The
convert(varchar(10),MyDate,108)
This gives you a time string of format HH:MM:SS.
You can then do any comparison you want with it