Toad: Ver 12.8.0.49
The below script exists without processing all the records in the cursor, loops through ok if the tz_offset is not called. Works ok in Toad 10.5.1.3 and plsql.
Loop is exited after only 3 records printed in 12.8.0.49
declare
cursor record is
select * from V$TIMEZONE_NAMES;
c varchar2(200);
begin
for r in record
loop
begin
c := tz_offset( r.tzname );
exception
when OTHERS then
dbms_output.put_line( ‘Exception’ );
end;
dbms_output.put_line( r.tzname || ’ ’ || c );
end loop;
end;