Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

datediff in sql server

SELECT DATEDIFF(dd, '2017/08/25', '2011/08/25') AS DateDiff
--result
-2192
 
PREVIOUS NEXT
Tagged: #datediff #sql #server
ADD COMMENT
Topic
Name
1+3 =