Rediscover Oracle too beautiful How to reinstall Sqlplus help?

Source: Internet
Author: User


Install the Sqlplus help command line script in the ORACLE database under $oracle_home/sqlplus/admin/help.
As shown below:
[Email protected] admin]$ CD $ORACLE _home/sqlplus/admin
[Email protected] admin]$ ls-ltr
Total 20
-rw-r--r--1 Oracle Oinstall 2118 FEB 2003 Pupbld.sql
-rw-r--r--1 Oracle Oinstall 813 Mar 7 2006 Plustrce.sql
-rw-r--r--1 Oracle oinstall 368 APR glogin.sql
-rw-r--r--1 Oracle Oinstall 226 libsqlplus.def
Drwxr-xr-x 2 Oracle Oinstall 4096 02:39 Help
[Email protected] admin]$ CD Help
[Email protected] help]$ ls-ltr
Total 84
-rw-r--r--1 Oracle Oinstall 265 FEB 2003 Helpbld.sql
-rw-r--r--1 Oracle Oinstall 2154 Jan 3 hlpbld.sql
-rw-r--r--1 Oracle Oinstall 366 Jan 3 Helpdrop.sql
-rw-r--r--1 Oracle Oinstall 71817-Helpus.sql
[Email protected] help]$ pwd
/u01/app/db11g/product/11.2.0/dbhome_1/sqlplus/admin/help
[Email protected] help]$


Helpus.sql---->>> is called by Helpbld.sql, is the Help content to insert text into Sqlplus
Helpdrop.sql---->>>, as the name implies, is to delete the Help table, but to execute the script as a system user
Hlpbld. SQL---->>>to Drop and create new help tables.


The installation steps are as follows:
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.

The drop is simpler, it's all official documents, just do it.


----------->>> This chapter has nothing to chew on the bones, can be a wink.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.