Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql delete records older than 1 day

...
WHERE date < DATEADD(day, -30, GETDATE())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #delete #records #older #day
ADD COMMENT
Topic
Name
4+1 =