Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql date between one week

WHERE datex BETWEEN DATEADD(day, -7, GETDATE()) AND GETDATE()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #date #week
ADD COMMENT
Topic
Name
2+6 =