Oracle 即时客户端与 OraOLE DB 提供程序?
是否可以将 oracle 即时客户端用于使用 oraoledb 驱动程序连接到 oracle 9i DB 的应用程序。
Is it possible to use oracle instant client for application that use oraoledb driver for connecting to oracle 9i DB.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我不相信是这样。 即时客户端常见问题解答指出
OLE DB 显然没有出现在该列表中。 现在,您可能可以将 Microsoft OLE DB 转 ODBC 提供程序与 Instant Client 和 ODBC 一起使用,但向软件添加附加层从来都不是一件很有趣的事情。
I don't believe so. The Instant Client FAQ states
OLE DB is conspicuously absent from that list. Now, potentially, you could use the Microsoft OLE DB to ODBC provider along with the Instant Client and ODBC, but adding additional layers to software is never very fun.
我认为这是可能的。 查找 Oracle 数据访问组件 (ODAC)。 我已经下载了ODAC XCopy版本,然后:
install oledb c:\oracle\odac_12_1 odac true
)尽管在这个脚本上,命令
regsvr32
(在我的例子中注册oraoledb12.dll
)不起作用。 但在脚本工作后运行此命令。 还要检查 PATH 变量,因为脚本只能在提示会话中更改它。现在,我可以使用 OraOLEDB.Oracle 提供程序 和 Oracle Instant Client 连接到 Oracle DB。
I think it is possible. Look for Oracle Data Access Components (ODAC). I've downloaded the ODAC XCopy version, then:
install oledb c:\oracle\odac_12_1 odac true
)Despite being on this script, the command
regsvr32
(to register theoraoledb12.dll
, in my case) didn't work. But running this command after the script worked. Check the PATH variable as well because the script could only change it for the prompt session.Now I'm being able to connect to a Oracle DB using OraOLEDB.Oracle provider and Oracle Instant Client.
我记得路径问题。
我添加了 c:\oracle 和 c:\oracle\bin 并且 - 瞧 - 从 udl 和 LinkedServer 连接到 ORACLE 运行完美。
I remembered about the Path issue.
I added c:\oracle and c:\oracle\bin and - voila - connect to ORACLE from udl and from LinkedServer is perfectly running.