Page 1 of 1

How to use TOraSession with NET mode

Posted: Fri 28 Oct 2005 01:54
by ronnin
e.g There is a Oracle Database with TNS Description as

(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.11.12)(PORT=1521)))(CONNECT_DATA=(SID=theSID)(SERVER=DEDICATED)))

how to set ConnectionString of TOraSession?

thank you forward.

Posted: Fri 28 Oct 2005 12:52
by Alex
Use the following expression:
OraSession.ConnectString = 'UserName/[email protected]:1521:theSID';