使用sqlplus命令登錄系統後,查看help
$ sqlplus system
SQL*Plus: Release 11.2.0.1.0 Production on Tue Oct 1 09:33:36 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> help
SP2-0171: HELP system not available.
這裏我們可以看到提示HELP system not available.
需要導入help表纔可以使用sqlplus中的help命令
sqlplus的腳本存放路徑$ORACLE_HOME/sqlplus/admin/help/
導入help(必須system用戶)
SQL> show user;
USER is "SYSTEM"
SQL> @?/sqlplus/admin/help/hlpbld.sql helpus.sql
此時查看help命令
SQL> help
HELP
----
Accesses this command line help system. Enter HELP INDEX or ? INDEX
for a list of topics.
You can view SQL*Plus resources at
http://www.oracle.com/technology/tech/sql_plus/
and the Oracle Database Library at
http://www.oracle.com/technology/documentation/
HELP|? [topic]
刪除help的腳本@?sqlplus/admin/help/helpdrop.sql