File tree 1 file changed +7
-7
lines changed
sqldev/src/main/java/org/utplsql/sqldev/runner
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -77,30 +77,30 @@ private CharSequence getCode() {
77
77
StringBuilder sb = new StringBuilder ();
78
78
if (!debug ) {
79
79
if (preferences .isResetPackage ()) {
80
- sb .append ("EXECUTE dbms_session.reset_package;\n " );
80
+ sb .append ("execute dbms_session.reset_package;\n " );
81
81
}
82
- sb .append ("SET SERVEROUTPUT ON SIZE UNLIMITED \n " );
82
+ sb .append ("set serveroutput on size unlimited \n " );
83
83
if (preferences .isClearScreen ()) {
84
- sb .append ("CLEAR SCREEN \n " );
84
+ sb .append ("clear screen \n " );
85
85
}
86
86
if (pathList .size () == 1 ) {
87
- sb .append ("EXECUTE ut.run('" );
87
+ sb .append ("execute ut.run('" );
88
88
sb .append (pathList .get (0 ));
89
89
sb .append ("');\n " );
90
90
} else {
91
91
// 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(" );
93
93
sb .append (StringTools .getCSV (pathList , "" ).replace ("\n " , "" ));
94
94
sb .append ("));\n " );
95
95
}
96
96
} else {
97
- sb .append ("BEGIN \n " );
97
+ sb .append ("begin \n " );
98
98
sb .append (" ut.run(\n " );
99
99
sb .append (" ut_varchar2_list(\n " );
100
100
sb .append (StringTools .getCSV (pathList , 9 ));
101
101
sb .append (" )\n " );
102
102
sb .append (" );\n " );
103
- sb .append ("END ;\n " );
103
+ sb .append ("end ;\n " );
104
104
}
105
105
return sb ;
106
106
}
You can’t perform that action at this time.
0 commit comments