Solved

oracle connection string

Posted on 2006-07-11
6
336 Views
Last Modified: 2010-04-30
hello experts,
i am using following statement to connect my vb application with oracle.
dim con as new adodb.connection
con.connectionstring="Provider=MSDAORA.1;User Id=scott/toger"
con.open

it is working.
please, i want to know meaning of :
Provider=MSDAORA.1
what is MSDAORA and what is .1 here.
thanks .
0
Comment
Question by:soodsandeep
6 Comments
 
LVL 15

Expert Comment

by:JackOfPH
Comment Utility
MSDAORA means Microsoft OLE DB Provider for Oracle
0
 
LVL 8

Expert Comment

by:kaliyugkaarjun
Comment Utility
0
 

Author Comment

by:soodsandeep
Comment Utility
thanks JackOfPH and kaliyugkaarjun !
but can i write
"provider=Microsoft OLE DB Provider for Oracle;User id=scott/tiger"

and what is .1 in MSDAORA.1?
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 1

Expert Comment

by:deepak_jims
Comment Utility
it' better u use the GUI package instead of the coe.
u have to create a data environment and then a data source in which u have to
select the OLE connector that u will be going to use . in this case it is " microsoft ole db conncector for oracle" (it is in the bottom of the list provided) . select this and press CONTINUE.

select the data base u want to use from oracle and provide the autentication mode.
after the authentication is done . TEST THE CONNECTION by pressing the button in botton most.
if the connection is OK. THEN continue and check the data source whether u have succeded or not.
also to ensure whether the connection is made or nor check the data source property of the FORM. there u will find some one as the connection string.

hope this help u..............

deepak kumar now in  IIPM
0
 
LVL 11

Expert Comment

by:leclairm
Comment Utility
0
 
LVL 7

Accepted Solution

by:
assyst earned 125 total points
Comment Utility
You can also write like

"Provider=OraOLEDB.Oracle;Data Source=MyOracleDB;User Id=Username;Password=Password;"
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

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

11 Experts available now in Live!

Get 1:1 Help Now