---
title: "oracle 对比方法"
author: "uu011"
date: "2012-08-09T23:21:43Z"
tags: []
categories: ["数据库"]
slug: "oracle"
draft: false
lastmod: "2012-08-09T23:21:43Z"
id: 1627694
url: "https://uu011.iteye.com/blog/1627694"
---

select* from all_tables where table_name in( 'A ', 'B ');
PL/SQL Developer-> Tools--> Compare user objects-->选择一个数据库
spool c:\comparetable.txt; select * from all_tables order by  table_name; spool off;