Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql today at midnight

SELECT DATEADD(d, 0, DATEDIFF(d, 0, GETDATE()))
Source by www.sqlservercentral.com #
 
PREVIOUS NEXT
Tagged: #sql #today #midnight
ADD COMMENT
Topic
Name
2+5 =