I need to query a table with records that have a start_time and end_time field. Their data type is nvarchar(100) and formatted like this example: 09:30AM
I need to do a before or after comparison on these fields, and to do so I need them in the time data format. (Correct me if I am mistaken). In the query, how do I convert the start_time and end_time so I can do my comparison?
NOTE: I have tried convert(time, start_time), but get a Conversion failed when converting date and/or time from character string error message.