drop trigger if exists sorder_bd_after_insert;
DELIMITER // 
create trigger sorder_bd_after_insert after insert on dbr_sorder_bd
    for each row begin
        call credit_bd_act('sordbd', new.id, 0);
    end//
DELIMITER ;