select * from TAB where TABTYPE='TABLE';和select * from user_tables;是一个意思,取的是用户表。
select * from all_tables;是系统所有表。
select * from tab; 是用户表和一些视图。
所以select * from all_tables遍历的速度要慢。
第一种速度要快。
select * from all_tables;是系统所有表。
select * from tab; 是用户表和一些视图。
所以select * from all_tables遍历的速度要慢。
第一种速度要快。
查询类型为TABLE的当前用户的表。表的类型还包括VIEW
2) select * from all_tables
所有用户的表(视图)。
3)select * from tab
当前用户的表(视图)。