You can also use PL/SQL without installing an Oracle client

Source: Internet
Author: User

How can i use PL/SQL without installing Oracle? Oracle is hundreds of M, and in today's machine configuration, of course, space is not a problem, but sometimes some of the services that are launched have a small performance impact. Use Instantclient bar, no installation, free, simple configuration, do not start the service.

Go directly to oralce official website to download the latest version of Instantclient, there is a windowslinuix version, download the choice to pay attention to the version.

  1. After the download is a compressed package, directly extracted to the disk directory. such as c:instantclient1025

  2. Create a directory within a folder,/network/admin. such as c:instantclient1025networkadmin

  3. Copy an Tnsnames.ora,sqlnet.ora from another machine and put it in the directory C:instantclient1025networkadmin

    such as: C:instantclient1025networkadmin Nsnames.ora

    C:instantclient1025networkadminsqlnet.ora

  4. "database server-side character set" Nls_lang=simplified Chinese_china. ZHS16GBK

    "instantclient directory" Tns_admin=c: Instantclient1025networkadmin

  5. modify the PL/SQL parameter. Open PL/SQL, Tools---preferences---oralce:connect "tool---preference---oracle:connect" modifies the parameter values of the Oralce home and OCI Library.

          "OCI directory" oci library  = C : Instantclient1025oci.dll

        If there is no oci.dll, you can copy it to another machine, this is a dynamic library file.  

       

                    

  6. When you turn off PL/SQL and restart, you can choose to use the database connection defined in Tnsname.ora.

    Database connection configuration, you can modify the Tnsname.ora file with a text editor.


You can also use PL/SQL without installing an Oracle client

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.