$ 0 0 when you wrote SELECT CAST( '11:10:25' AS TIME(0)) - CAST('11:00:33' AS TIME(0)) you are missing HOUR TO SECOND You should write SELECT CAST( '11:10:25' AS TIME(0)) - CAST('11:00:33' AS TIME(0)) HOUR TO SECOND ;
when you wrote
SELECT CAST( '11:10:25' AS TIME(0)) - CAST('11:00:33' AS TIME(0))
you are missing HOUR TO SECOND
You should write
SELECT CAST( '11:10:25' AS TIME(0)) - CAST('11:00:33' AS TIME(0)) HOUR TO SECOND ;