Hi gerado,
I agree with you to some extent, But convertin this to time is not solving the issue, Can you please try the following queries:
--Converting literals to time
SELECT CAST( '11:10:25' AS TIME(0)) - CAST('11:00:33' AS TIME(0)) ;
--Integer arithmatic
SELECT 111033 - 110025 ;
--Integer arithmatic with format
SELECT CAST(111033 - 110025 AS INTEGER FORMAT '99:99:99') ;
--Integer arithmatic with time conversion
SELECT CAST( CAST( 110025 AS INTEGER FORMAT '99:99:99') AS TIME(0))-
CAST( CAST( 111033 AS INTEGER FORMAT '99:99:99') AS TIME(0)) AS VALUE4;
Hi gerado,
I agree with you to some extent, But convertin this to time is not solving the issue, Can you please try the following queries: