我和你一样的问题,odbc时通时断,再后来服务器的odbc被我弄坏了
。我在网上找啊找的,终于发现我自己的机器上原来就有现成的工具
“Oracle Objects for OLE”。
给你copy点帮助文件的话看看,劝你放弃odbc.The OO4O Automation Server is a set of COM Automation Objects for connecting to Oracle database servers, executing SQL statements and PL/SQL blocks, and accessing the results. Unlike other COM-based database connectivity APIs, such as Microsoft ADO, the OO4O Automation Server has been developed and evolved specifically for use with Oracle database servers. It provides an optimized API for accessing features that are unique to Oracle and are otherwise cumbersome or inefficient to use from ODBC or OLE DB components.OO4O provides key features for accessing Oracle databases efficiently and easily in environments ranging from the typical two-tier client/server applications, such as those developed in Visual Basic or Excel, to application servers deployed in multi-tiered application server environments such as web server applications in Microsoft Internet Information Server (IIS) or Microsoft Transaction Server (MTS).