Solved

Need to decipher a line of code VBA/Oracle

Posted on 2013-12-03
1
356 Views
Last Modified: 2013-12-03
I have a connection string using VBA connecting to an Oracle database as see below. Can someone help me decipher this code. Thanks in advance.

.ConnectionString = "Data Source=(DESCRIPTION=(CID=SHSOXP02)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=uctvp614)(PORT=25888)))(CONNECT_DATA=(SID=SHSOXP02)(SERVER=DEDICATED)));User Id=CIM_E2E;Password=temp1234;"
0
Comment
Question by:tesla764
1 Comment
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 39694407
That is referred to as the EZCONNECT syntax for Oracle.

The docs talk about it:
http://docs.oracle.com/cd/E11882_01/network.112/e41945/naming.htm#NETAG008

Basically it is a way to connect to Oracle without a tnsnames.ora entry (also talked about in the docs).  It provides everything Oracle needs to know to find the server/database it connects with.

If this doesn't answer all your questions, please ask what specific pieces of the connect information you need clarified.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to take different types of Oracle backups using RMAN.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now