File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
sqldev/src/main/java/org/utplsql/sqldev/runner Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -77,30 +77,30 @@ private CharSequence getCode() {
7777 StringBuilder sb = new StringBuilder ();
7878 if (!debug ) {
7979 if (preferences .isResetPackage ()) {
80- sb .append ("EXECUTE dbms_session.reset_package;\n " );
80+ sb .append ("execute dbms_session.reset_package;\n " );
8181 }
82- sb .append ("SET SERVEROUTPUT ON SIZE UNLIMITED \n " );
82+ sb .append ("set serveroutput on size unlimited \n " );
8383 if (preferences .isClearScreen ()) {
84- sb .append ("CLEAR SCREEN \n " );
84+ sb .append ("clear screen \n " );
8585 }
8686 if (pathList .size () == 1 ) {
87- sb .append ("EXECUTE ut.run('" );
87+ sb .append ("execute ut.run('" );
8888 sb .append (pathList .get (0 ));
8989 sb .append ("');\n " );
9090 } else {
9191 // we want a horizontal dense output because we resize the worksheet to fit the command in common cases
92- sb .append ("EXECUTE ut.run(ut_varchar2_list(" );
92+ sb .append ("execute ut.run(ut_varchar2_list(" );
9393 sb .append (StringTools .getCSV (pathList , "" ).replace ("\n " , "" ));
9494 sb .append ("));\n " );
9595 }
9696 } else {
97- sb .append ("BEGIN \n " );
97+ sb .append ("begin \n " );
9898 sb .append (" ut.run(\n " );
9999 sb .append (" ut_varchar2_list(\n " );
100100 sb .append (StringTools .getCSV (pathList , 9 ));
101101 sb .append (" )\n " );
102102 sb .append (" );\n " );
103- sb .append ("END ;\n " );
103+ sb .append ("end ;\n " );
104104 }
105105 return sb ;
106106 }
You can’t perform that action at this time.
0 commit comments