如何将EXCEL中的ORACLE与JDBC连接? [英] How can I connect ORACLE from EXCEL with JDBC?
问题描述
我想用excel将oracle与JDBC连接起来。
我想要插入数据到oracle当我点击Excel中的按钮,我不想安装ora-client.Is可能与jdbc?
我使用微软。
谢谢。
I want to connect oracle with JDBC from excel. I want to insert data to oracle when I click the button in excel, I dont want to install ora-client.Is it possible with jdbc? I use Microsoft. Thanks.
推荐答案
使用JDBC从Excel连接到Oracle没有任何意义(JDBC是Java框架连接到数据库,因此不适用于Excel IMHO)。
Using JDBC to connect to Oracle from Excel doesn't make much sense (JDBC is a Java framework for connecting to databases and therefore not suitable for Excel IMHO).
您应该为Windows安装Oracle数据访问组件(假设您使用的是Windows;祝你好运你正在使用Mac);那么,你可以直接使用Oracle作为数据源(不需要宏);
You should install the Oracle Data Access components for Windows (assuming you're using Windows; good luck if you're using a Mac); then, you can
- 网上有大量的教程可供参考。 MacLochlainns Weblog:查询Oracle数据库
- 在.NET中编写Excel插件,使用标准的.NET机制连接到Oracle数据库(再次,网上有很多教程)
这篇关于如何将EXCEL中的ORACLE与JDBC连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!