I’ve got an interesting issue going on here when grabbing the nextval from a sequence in Oracle. The problem is that the nextval increments by 3 each time, not 1. The increment parameter is set to 1 in Oracle, and if I do the same select from the command line, it returns the nextval incremented by only 1. So, my question is, why and/or how is this being incremented by 3 when I run the query through CI?
$sql = "select testlog.schedule_seq.nextval from dual";
$query = $this->db->query($sql);
$row = $query->row();
echo $row->NEXTVAL;