Oracle连接字符串
1.C#连接字符串
Oracle的安装目录下tnsnames.ora文件,里面会设置
OraDb=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCP)(HOST=OTNSRVR)(PORT=1521))
)
(CONNECT_DATA=
(SERVER=DEDICATED)
(SERVICE_NAME=ORCL)
)
)
C#的连接字符串就是Data Source=OraDb;User Id=XXX;Password=XXX