Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Oracle Connection String 1

Status
Not open for further replies.
Apr 27, 1999
705
US


Hello,

I'm trying to connect to an Oracle database. Does any body have a connection string I could use with

server
uid
password
dbq

Or is it more involved than using an SQL connection string?


Thanks,

fengshui1998
 
Why not create a DSN and just connect to it that way? Wushutwist
 
Here's an example. I use this DSN-less string to connect to an Oracle 8i database:

set dbconn = server.CreateObject("ADODB.Connection")
dbconn.Open "Provider=MSDAORA.1;Data Source=sun1.xxxxxxx.com;User Id=xxxxxt;PASSWORD=xxxxxxx;"

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top