No install Oracle client uses PL/SQL to connect Oracle

Source: Internet
Author: User

Only one download is required on Oraclecalled Instant Client package software can be, this software does not need to install, as long as the decompression can be used, very convenient, even if the system is re-installed can be used.

: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html login account QQ Mailbox

Download this,Instant Client package-basic package. Then extract to any directory, in this directory to establish the network folder, then this folder and then create the Admin folder, and then create the Tnsnames.ora file, the contents are as follows:

     Oracledata =
            (DESCRIPTION =
             (address_list =
                (ADDRESS = (PROT Ocol = TCP) (HOST = Yourhostip) (PORT = 1521))
            )
              (connect_data =
              &n BSP; (service_name = yoursid   )
            )
   &NB Sp       )
here according to their actual situation configuration. Then open PL/SQL, set the OCI Library and Oracle_home in Perference, my settings are OCI library=c:\oracleclient\oci.dll,oracle_home=c:\ OracleClient.

According to their actual situation configuration, is actually just download down the path of the package. There is one last problem, you need to set a character set, so that the query out of the data will not be garbled, write a batch processing Pldev. BAT is placed in the PL installation directory with the following contents:

Set Nls_lang=simplified Chinese_china. Zhs16gbk
PLSQLDev.exe

This character set, refers to the server side of the character set, please configure according to the actual situation.

Finally, just double-click this batch, then fill in the account number and password on it!!

http://www.cnblogs.com/elegantok/archive/2008/11/13/1332794.html

No install Oracle client uses PL/SQL to connect Oracle

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.