[Oracle] do not install the Oracle client to connect to the Oracle server using PL/SQL

Source: Internet
Author: User

Supports running OCI, occi, JDBC, JDBC-OCI files, support for multiple languages.
Basic Lite is a basic Lite version that only contains English Error Descriptions and only supports Unicode, ASCII, and European character sets.
Therefore, if the database server is a Chinese character set (such as simplified chinese_china.zhs16gbk), you must download the basic version.

1. Download and decompress the package to any directory. For example, X: \ instantclient_10_2

2. Configure Environment Variables

1) variable name: ORACLE_HOME
Variable value: X: \ instantclient_10_2
2) variable name: tns_admin
Variable value: X: \ instantclient_10_2
3) variable name: nls_lang
Variable value: Simplified chinese_china.zhs16gbk(Set the character set, otherwise it will look garbled)
4) modify the PATH variable and add X: \ instantclient_10_2.

3. create a text file named tnsnames in X: \ instantclient_10_2. add your own database alias configuration to the file, or copy tnsnames to another computer. ora, modify the content (host = Server IP ).

4. Open PL/SQL and enter the account and password to log on.

Uninstall method:

1. Delete and restore the configured environment variables.

2. Delete the X: \ instantclient_10_2 folder.

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.