I feel like this code has been working all day but all of a sudden it doesn't work anymore and I can't seem to find the solution.
This Loop is inside a big function so I'll only post this:
FOR i in 0..t_strGroups.count
LOOP
newStudentNumber := newStudentNumber || t_strGroups(i) || ' ';
dbms_output.put_line(newStudentNumber); -- this outputs fine
END LOOP;
dbms_output.put_line('test'); --this line doesn't output
When testing where the function stopped working I found that after this loop I can no longer output lines. Does anyone know what might have happened here?
Thanks in advance!
beginend;.. correct ? and you are returning the value ?dbms_outputbuffer. Perhaps yourdbms_outputbuffer just isn't big enough.t_strGroups.countbefore the loop andiwithin the loop.