标签: vbscript ado.net database-connection connection-string oracle-sqldeveloper
如何为vbscript和oracle连接编写连接字符串?
connstr =" Provider = SQLNCLI; Data Source = server \ instance; User ID = username; 密码=密码;初始目录= database_name;"
答案 0 :(得分:0)
如果您使用的是OraOLEDB驱动程序。 More info
Provider=OraOLEDB.Oracle;Data Source=MyOracleDB;User Id=myUsername;Password=myPassword;
或Microsoft驱动程序。 More info
Provider=msdaora;Data Source=MyOracleDB;User Id=myUsername;Password=myPassword;