重新发现Oracle太美之如何重新安装sqlplus help?


在Oracle数据库中安装sqlplus中帮助命令行的脚本在$ORACLE_HOME/sqlplus/admin/help下面。
如下所示:
[oracle@rh64 admin]$ cd $ORACLE_HOME/sqlplus/admin
[oracle@rh64 admin]$ ls -ltr
total 20
-rw-r--r-- 1 oracle oinstall 2118 Feb 16  2003 pupbld.sql
-rw-r--r-- 1 oracle oinstall  813 Mar  7  2006 plustrce.sql
-rw-r--r-- 1 oracle oinstall  368 Apr 10  2011 glogin.sql
-rw-r--r-- 1 oracle oinstall  226 Jul 17  2013 libsqlplus.def
drwxr-xr-x 2 oracle oinstall 4096 May 14 02:39 help
[oracle@rh64 admin]$ cd help
[oracle@rh64 help]$ ls -ltr
total 84
-rw-r--r-- 1 oracle oinstall   265 Feb 16  2003 helpbld.sql
-rw-r--r-- 1 oracle oinstall  2154 Jan  3  2011 hlpbld.sql
-rw-r--r-- 1 oracle oinstall   366 Jan  3  2011 helpdrop.sql
-rw-r--r-- 1 oracle oinstall 71817 Aug 16  2012 helpus.sql
[oracle@rh64 help]$ pwd
/u01/app/db11g/product/11.2.0/dbhome_1/sqlplus/admin/help
[oracle@rh64 help]$ 


helpus.sql---->>>被helpbld.sql所调用,是往sqlplus里面插入文本的帮助内容
helpdrop.sql---->>>顾名思义,就是删除帮助表的,不过要以system用户来执行脚本
HLPBLD.SQL ---->>>to drop and create new help tables.


安装步骤如下:
1. Log in to SQL*Plus as the SYSTEM user with:
SQLPLUS SYSTEM


2. In UNIX run the SQL script, HLPBLD.SQL, from SQL*Plus with:
@$ORACLE_HOME/SQLPLUS/ADMIN/HELP/HLPBLD.SQL HELPUS.SQL
In Windows run the SQL script, HLPBLD.SQL, from SQL*Plus with:
@ORACLE_HOME\SQLPLUS\ADMIN\HELP\HLPBLD.SQL HELPUS.SQL
The HLPBLD.SQL script creates and loads the help tables.

drop更简单,都是官方文档上直接做就行


----------->>>这章没有啥可以啃的骨头,过过眼即可。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值