Home > Database > Mysql Tutorial > oracle查询表字段以及所有表

oracle查询表字段以及所有表

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:26:17
Original
1256 people have browsed it

select * from user_tables --查询当前用户下所有的表信息 select * from ALL_ALL_TABLES a where A.OWNER ='SPHB' --查询某个用户下所有的表 select * from ALL_TAB_COLUMNS a where A.OWNER ='SPHB' --查询某个用户下的所有表里面的字段 select * from all

select * from user_tables --查询当前用户下所有的表信息


select * from ALL_ALL_TABLES  a where A.OWNER ='SPHB'  --查询某个用户下所有的表


select *  from ALL_TAB_COLUMNS  a where A.OWNER ='SPHB'   --查询某个用户下的所有表里面的字段

 
select * from  all_VIEWS a where A.OWNER ='SPHB'   --查询某个用户下的所有的视图

 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template