Connect to an Oracle 10g database with Microsoft ODBC for Oracle

后端 未结 3 780
余生分开走
余生分开走 2020-12-18 09:49

I\'m trying to connect to an Oracle 10g database using the built in Microsoft ODBC for Oracle driver. I want to use an dnsless connection, so I grab my connection string fr

3条回答
  •  爱一瞬间的悲伤
    2020-12-18 10:18

    With 10g, you can use the EZCONNECT feature. To connect to an Oracle instance named ORCL on the server myServer, the connection string would look like this :

    Driver={Microsoft ODBC for Oracle};Server=myServer:1521/ORCL;Uid=myUsername;Pwd=myPassword;
    

提交回复
热议问题