码迷,mamicode.com
首页 > 数据库 > 详细

Oracle如何查看自己有哪些表

时间:2015-03-19 18:32:09      阅读:168      评论:0      收藏:0      [点我收藏+]

标签:


方法1


SQL> select tname from tab wheretabtype=‘TABLE‘;

 TNAME

------------------------------------------------------------

REGIONS

LOCATIONS

JOB_HISTORY

JOBS

EMPLOYEES

DEPARTMENTS

COUNTRIES

 

7 rows selected.

 

方法2:


 SQL> select table_name from user_tables;

 TABLE_NAME

------------------------------------------------------------

COUNTRIES

JOB_HISTORY

EMPLOYEES

JOBS

DEPARTMENTS

LOCATIONS

REGIONS

 

7 rows selected.


Oracle如何查看自己有哪些表

标签:

原文地址:http://blog.csdn.net/wenshuangzhu/article/details/44460279

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!