avatar
r*d
1
偶现在帮忙做一个网站,用户每天都要上传一些MS Access 文件。完了以后每天
DBA会把这些文件中的数据load 到Oracle database里面。现在想写一个程序,
每天到了一个时间会自动运行做这件事情。请问具体怎么实现?偶比较熟悉java,
JDBC等。Thanks,
avatar
e*g
2
the only problem is to parse Access file in java.
there are java package for MS files, not sure about Access.

【在 r*******d 的大作中提到】
: 偶现在帮忙做一个网站,用户每天都要上传一些MS Access 文件。完了以后每天
: DBA会把这些文件中的数据load 到Oracle database里面。现在想写一个程序,
: 每天到了一个时间会自动运行做这件事情。请问具体怎么实现?偶比较熟悉java,
: JDBC等。Thanks,

avatar
c*y
3
File upload, you don't need java. PHP can do this. You might even be able to
do the load automatically.

【在 r*******d 的大作中提到】
: 偶现在帮忙做一个网站,用户每天都要上传一些MS Access 文件。完了以后每天
: DBA会把这些文件中的数据load 到Oracle database里面。现在想写一个程序,
: 每天到了一个时间会自动运行做这件事情。请问具体怎么实现?偶比较熟悉java,
: JDBC等。Thanks,

avatar
r*d
4
偶现在的主要问题倒不是这个,而是不知道怎么样让系统每过一段
时间(say,每天午夜12点)就调用这个程序。Thanks a lot,

【在 e***g 的大作中提到】
: the only problem is to parse Access file in java.
: there are java package for MS files, not sure about Access.

avatar
r*d
5
File upload已经做好了而且在运行了,现在是把upload的文件放到硬盘里,
主要就是不知道怎么定期自动load到oracle里面去?

【在 c*y 的大作中提到】
: File upload, you don't need java. PHP can do this. You might even be able to
: do the load automatically.

avatar
g*s
6
cron job

【在 r*******d 的大作中提到】
: 偶现在的主要问题倒不是这个,而是不知道怎么样让系统每过一段
: 时间(say,每天午夜12点)就调用这个程序。Thanks a lot,

avatar
c*y
7
There is a PHP interface to oracle, which you can install, and then you can
use the function provided by that packet in PHP and do whatever you want. It's
just like PHP/MySQL.定时启动应该也不难实现吧,虽然没试过的说。

to

【在 r*******d 的大作中提到】
: File upload已经做好了而且在运行了,现在是把upload的文件放到硬盘里,
: 主要就是不知道怎么定期自动load到oracle里面去?

avatar
c*y
8
Oh, just to do the data loading periodically, say every day, what you need to
do is to put this in the html file.

(This is the duration to wait)
The doLoad() function will just output the html/php file which will process
the data and put it into the database.

It's
able
每天到了一个时间会自动运行做这件事情。请问具体怎么实现?偶比较熟悉java,

【在 c*y 的大作中提到】
: There is a PHP interface to oracle, which you can install, and then you can
: use the function provided by that packet in PHP and do whatever you want. It's
: just like PHP/MySQL.定时启动应该也不难实现吧,虽然没试过的说。
:
: to

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。