SQL Commands

Delete notifications older than 1 year

DELETE FROM Production_Coach.dbo.Notifications
WHERE Date < DATEADD(YEAR, -1, GETDATE());

Revision #1
Created 22 January 2024 21:05:31 by brad
Updated 22 January 2024 21:06:20 by brad