There was an error while loading. Please reload this page.
1 parent a5ce960 commit 594171dCopy full SHA for 594171d
javascript/nashorn/hello.js
@@ -2,9 +2,14 @@ function hello()
2
{
3
/*
4
*This is a sample Javascript file that prints "Hello World".
5
+*
6
+* Before invoking it, you must load it into your database user schema
7
+* loadjava –v –r –u hr/hr hello.js
8
+* then call hello.js from SQL*Plus
9
+* SQL> @hello.sql
10
*/
11
var hellow = "Hello World";
12
return hellow;
13
}
14
var output = hello();
-print(output);
15
+print(output);
0 commit comments