[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 369
  • Last Modified:

Need to decipher a line of code VBA/Oracle

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
tesla764
Asked:
tesla764
1 Solution
 
slightwv (䄆 Netminder) Commented:
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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Tackle projects and never again get stuck behind a technical roadblock.
Join Now