Forum Discussion

togethere's avatar
togethere
Copper Contributor
Nov 19, 2024

SQL Server 2022 DateDiff D not working

Just updated an SQL server 2017 instance to 2022 and a very simple where clause using DataDiff(d) no longer works in a stored procedure. Here is the where clause: ...AND datediff(d, A.Custfirstvisi...

Resources