oracle - Why anonymous block is executed twice in Toad when it contains output cursor? -


i'm using toad oracle 12.10.0.30. when following anonymous block executed using editor -> execute statement (f9) :res being output cursor, block executed twice , dbms output contains 'start' twice. if there no output cursor, block correctly executed once.

can 1 explain why works way?

begin     dbms_output.put_line('start');      open :res     select * dual     rownum <= 100;  end; 

toad execution result

thanks!

this bug in 12.10 has been corrected in 12.11. can find original report of here.


Comments

Popular posts from this blog

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -

angular - DownloadURL return null in below code -