Posts by Paulo Henrique • 37 points
1 post
-
1
votes2
answers420
viewsQ: The Datediff function resulted in an Sql Server overflow
I have the following appointment: SELECT ISNULL(MAX(CONVERT(TIME(0), DATEADD(SECOND, DATEDIFF(SS, [INICOLIGACAO],[FINALLIGACAO]), 0))),'') AS [DURACAO_CHAMADA] WHERE CONVERT(DATE,[DIA]) =…