DELETE FROM {TableName} WHERE DATEADD(d, {RemovePeriod}, GETDATE()) > CONVERT(DATETIME, CreatedAt);