首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 运行多个SQL脚本在多个模式的蚂蚁

运行多个SQL脚本在多个模式的蚂蚁

  • 资源大小:793.86 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: sql oracle database ant

资 源 简 介

The problem we solve here is that we have multiple schemas in our database and there is a frequent release of new sql scripts that update them. The scripts are distributed with names that sort to the order they need to run in, and we must preserve that order, and they also have the schema name encoded into the name so we know which schema to apply them to. This ant task replaces a sh script that never quite handled the job. It is only tested on Oracle, though it ought to be fairly portable. It scans the scripts presented for all schema names and drops (optionally) those schemas and recreated them. Then it runs the sql. Stored procedures and triggers (for Oracle, at least) are tested, as well as the more common DDL and insert/update statements. Select statements work too, and they log the resulting rows.

文 件 列 表

madura-dbloader-1.5.jar
madura-dbloader-javadocs-1.5.zip
madura-dbloader-source-1.5.zip
MaduraDBLoader.pdf
VIP VIP
0.170114s