oracle diff: how to compare two tables?

后端 未结 12 1952
忘了有多久
忘了有多久 2021-01-31 03:22

Suppose I have two tables, t1 and t2 which are identical in layout but which may contain different data.

What\'s the best way to diff these two tables?

12条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-31 04:00

    You can use a tool like AQT to create diffs between tables.

    Another approach would be to dump the tables to a text file and use a diff tool like WinMerge. With this approach, you can use complex SQL to turn the tables into the same layout, first.

提交回复
热议问题