oracle查询表

218 阅读1分钟

1、查询所有表:

select * from user_tables;

2、查询所有表的数量:

select count(*) from user_tables;

3、模糊查询表名称:

select * from user_tables where table_name like '%表名称%';

4、根据表空间查询表:

select * from user_tables where tablespace_name = '表空间名称';