【发布时间】:2012-06-11 11:23:13
【问题描述】:
我在 testDB 和 liveDB 中有相同的表。我需要使用该表的 LiveDB 中的数据更新 testDB 中的数据。如何在 Oracle 中做到这一点?
【问题讨论】:
-
您需要更新数据并保留 testdb 数据,还是只需将 test 中的数据替换为 live?如果是后者,则截断 testdb 表,使用 oracle exp 和 imp 表将表从 live 导出到 testdb,如果它们不一样,则使用 fromuser/touser 将其放入您想要的架构中。
标签: oracle sql-update insert-update