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

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -