$ORACLE_HOME/sqlplus/admin/glogin.sql
define _editor=vi -- can set as notepad, emacs ...
set serverouput on size 1000000 -- set the default buffer size as long as possible
call dbms_java.set_output(1000000); -- redirects the Java ssytem.out to sqlplus session dbms.output buffer
set trimspool on
set sqlblankline on
set long 5000 -- number of bytes displayed when selecting the LONG or CLOB columns
set linesize 300 pagesize 9999
column plan_plus_exp format a80 -- width of the explain plan output
column global_name new_value gname
set termout off
seletct lower(user) || '@' || decode(global_name, 'SKYDIVE', 'DATABASE', '9I', '8I', global_name) global_name from global_name;
set sqlprompt '&gname> '
set termout on
Windows Java Environment:
classes12.zip: this package contains all the Oracle JDBC classes to connect to the database.
translator.zip, runtime.zip: in the %ORACLE_HOME%sqljlib to translate and compile SQLJ-based code.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/205087/viewspace-786269/ ,如需转载,请注明出处,否则将追究法律责任。