You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
datediff
About this tag
The datediff tag on WindowsForum.com covers issues related to the SQL Server DATEDIFF function, particularly overflow errors that occur when date differences exceed the function's range. A common scenario involves Windows HPC (High Performance Computing) services failing after updates on Server 2019, where the datediff function in SQL queries returns an overflow error due to large datepart differences. Discussions focus on troubleshooting this error by using less precise dateparts or adjusting query logic. The tag is relevant for system administrators and IT professionals dealing with SQL Server errors in Windows Server environments.
Hi all,
When looking at the logs after the HPC console add-in fails to start I get the following (HPC scheduler):
Exception: System.Data.SqlClient.SqlException (0x80131904): The datediff function resulted in an overflow. The number of dateparts separating two date/time instances is too large...