asp教程 连接 oracle数据库教程两种方法 '我们讲要来根据oracle数据库类型 写了两种连接oracle数据库的代码,一种是oracle 连接方法另一种是oracle ole db 连接方法。 'oracle 连接方法:
set adocon=server.createobject("adodb.connection") adocon.open"driver={microsoft odbc for oracle};server=oraclesever.world;uid=admin;pwd=pass;"
'oracle ole db 连接方法:
set adocon=server.createobject("adodb.connection") adocon.open"provider=oraoledb.oracle;data source=dbname;user id=admin;password=pass;" |