The DATEDIFF function in SQL Server is used to calculate the difference between two dates. It has three parameters, interval, date1, and date2.
確定! 回上一頁