Friday, March 14, 2014

.Net Oracle Connection String

with tnsname
Data Source=MyOracleDB;User Id=myUsername;Password=myPassword;
Integrated Security=no;

common:
SERVER=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort))(CONNECT_DATA=(SERVICE_NAME=MyOracleSID)));
uid=myUsername;pwd=myPassword;