1.比较完美的
select column_name,data_type from all_tab_cols
where table_name = a表
minus
select column_name,data_type from all_tab_cols
where table_name = b表
2.这个只能比较2表字段是否一样多并且2表的字段类型完全一致才行。
union all连接 |
1.比较完美的
select column_name,data_type from all_tab_cols
where table_name = a表
minus
select column_name,data_type from all_tab_cols
where table_name = b表
2.这个只能比较2表字段是否一样多并且2表的字段类型完全一致才行。
union all连接 |