SQ_get_max_id

    SQ_get_max_id    668 modules/nh/nh.c  range_id=SQ_get_max_id(sql_connection, "range_id", "nic_hdl") +1;
    SQ_get_max_id    681 modules/ud/ud_core.c   dummy_id = SQ_get_max_id(tr->sql_connection, "object_id", "last") +1;
    SQ_get_max_id   1561 modules/ud/ud_core.c       tr->object_id = SQ_get_max_id(tr->sql_connection, "object_id", "last") +1;
    SQ_get_max_id    104 modules/ud/ud_serial.c     tr->serial_id = SQ_get_max_id(tr->sql_connection, "serial_id", "serials") +1;
    SQ_get_max_id    166 modules/ud/ud_serial.c   tr->serial_id = SQ_get_max_id(tr->sql_connection, "serial_id", "serials") +1;