• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 352
  • Last Modified:

oracle connection string

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
soodsandeep
Asked:
soodsandeep
1 Solution
 
JackOfPHCommented:
MSDAORA means Microsoft OLE DB Provider for Oracle
0
 
kaliyugkaarjunCommented:
0
 
soodsandeepAuthor Commented:
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
deepak_jimsCommented:
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
 
assystCommented:
You can also write like

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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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