Using Run Script creates incorrect Result in SQLDeveloper (Doc ID 2007101.1)

Last updated on JULY 19, 2015

Applies to:

Oracle SQL Developer - Version 4.0 and later
Information in this document applies to any platform.

Symptoms

SQL Developer shows two different output for the same query. The output is empty in Run script(f5, but correct output is showing in run statement(f9).

Run the query with 'Run Statement'. The output looks like this:
 
  F1                                    
  ----------------------------------------
  あ
 
  b. Run the query with 'Run Script(F5)'. The output looks like this:
 
  F1                                    
  ----------------------------------------

   (Empty)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms