Solved

Need to decipher a line of code VBA/Oracle

Posted on 2013-12-03
1
362 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 77

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create file system directory from Oracle 10g 4 30
update statement in oracle 9 37
format dd/mm/yyyy parameter 16 47
Oracle Errors 11 43
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 post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
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.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

679 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