Solved

Need to decipher a line of code VBA/Oracle

Posted on 2013-12-03
1
355 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
Comment Utility
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.

Join & Write a Comment

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
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.

771 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

9 Experts available now in Live!

Get 1:1 Help Now