To connect to a different Oracle Database (if you already connect to one) all you need to do is go into you Oracle_Home directory. Then go to network\admin\ in this directory you will see a file called tnsnames.ora you need to edit this. Copy the record that is in there. Edit the second one by changing the machine name and sid. If you have an Oracle DBA on site they should be able to assist in doing this.
*SID*.WORLD =
( DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = *HOSTNAME*)(PORT = 1521)
+)
)
(CONNECT_DATA =
(SERVICE_NAME = *SID*.world)
)
)
The things with stars are the only things you should need to change.
--
BigJoeLearn patience, you must.
Young PerlMonk, craves Not these things.
Use the source Luke.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.