sqlplus HELP

使用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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值