I have the following query
SELECT CONVERT(TIME, LEFT(CONVERT(VARCHAR,(DATEDIFF(HOUR,[Hora Salida],[Registro Salida]))),2) + ':' + LEFT(CONVERT(VARCHAR,DATEDIFF(MINUTE,[Hora Salida],[Registro Salida])),2) + ':00')
but when I try to execute it, it throws me the following error
Msg 241, Level 16, State 1, Line 1
Conversion failed when converting date and/or time from character string.
What I want is for me to join the hour and the minutes but it throws me the error mentioned above, help