Create Trigger deleteData After Delete On 'SystemEvents' For EACH ROW BEGIN DELETE FROM SystemEvents WHERE(ReceivedAt // !!!!!!!! END
CREATE TRIGGER deleteData AFTER DELETE ON SystemEvents For EACH ROW BEGIN DELETE FROM SystemEvents WHERE ReceivedAt < DATE_SUB(NOW(), INTERVAL 5 MONTH) END
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)