I ended up using this to extract and convert the minimum time from a string:
Code:
SELECT CONVERT(datetime, REPLACE(LEFT(RIGHT(hdresp, PATINDEX('%(**%', REVERSE(hdresp)) - 1), 21), 'at ', '')) from tblhdmain where hdindex = 211458
2014-04-02 15:17:00.000
Leave a comment: