This discussion is archived
3 Replies Latest reply: Feb 18, 2007 8:25 PM by 442472 RSS

OO4O - Connection String

387958 Newbie
Currently Being Moderated
I do this :

Set OraDatabase = OraSession.OpenDatabase("orcl", "scott/tiger", 0&)

It there a way, I can do this :

OraSession.DbOpenDatabase("ORCL=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xxx.xx.xxx.x)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ORCL)))",
"scott/tiger",0&)

Thanks