Link to home
Start Free TrialLog in
Avatar of rocky050371
rocky050371

asked on

SQL Help

I am trying to delete all record which are older than 1 month


DELETE
FROM StackExecution
WHERE STEX_Executed < DATE_SUB(GETDATE(),INTERVAL 1 MONTH)
ASKER CERTIFIED SOLUTION
Avatar of tim_cs
tim_cs
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rocky050371
rocky050371

ASKER

Thank you