Jos*_*ine 3 oracle oracle-sqlcl
版本
sql -version
SQLcl: Release 18.4.0.0 Production
Run Code Online (Sandbox Code Playgroud)
我输入:
SQL> exec dbaspace.long_ops;
SID % Done Start Time Rem [s] Elapsed Message
==== ======= =================== ======= ======= ======================================================================================
There are currently no long running operations.
PL/SQL procedure successfully completed.
Run Code Online (Sandbox Code Playgroud)
我按 ARROW UP 键来获取最后一个命令,SQLcl 像这样修改我的历史记录:
SQL> BEGIN dbaspace.long_ops; END;;
Error starting at line : 1 in command -
BEGIN dbss.long_ops; END;;
Error report -
ORA-06550: line 1, column 26:
PLS-00103: Encountered the symbol ";"
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:
Run Code Online (Sandbox Code Playgroud)
重写的历史命令不起作用