USE accounting; SET autocommit=0; DELETE FROM cdr_tag WHERE type IN ('r_ua'); COMMIT;