SET FOREIGN_KEY_CHECKS=0;

-- 
delete from kpi_c_report_ims WHERE created_at <= '2025-03-15';
delete from kpi_c_report_upf WHERE created_at <= '2025-03-15';
delete from kpi_c_report_udm WHERE created_at <= '2025-03-15';
delete from kpi_c_report_smf WHERE created_at <= '2025-03-15';
delete from kpi_c_report_pcf WHERE created_at <= '2025-03-15';
delete from kpi_c_report_amf WHERE created_at <= '2025-03-15';
delete from kpi_c_report_ausf WHERE created_at <= '2025-03-15';
delete from kpi_report_ims WHERE created_at <= '2025-03-15';
delete from kpi_report_upf WHERE created_at <= '2025-03-15';
delete from kpi_report_udm WHERE created_at <= '2025-03-15';
delete from kpi_report_smf WHERE created_at <= '2025-03-15';
delete from kpi_report_pcf WHERE created_at <= '2025-03-15';
delete from kpi_report_amf WHERE created_at <= '2025-03-15';
delete from kpi_report_ausf WHERE created_at <= '2025-03-15';
delete from cdr_event_ims WHERE created_at <= '2025-03-15';
delete from cdr_event_smsc WHERE created_at <= '2025-03-15';
delete from cdr_event_smf WHERE created_at <= '2025-03-15';

SET FOREIGN_KEY_CHECKS = 1;