自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

oracle查詢用戶所有表的語句

數(shù)據(jù)庫 Oracle
如果需要查詢oracle數(shù)據(jù)庫用戶下所有的表,應(yīng)該如何實(shí)現(xiàn)呢?下文將為您介紹oracle查詢用戶所有表的語句,供您參考。

下面為您介紹的語句用于實(shí)現(xiàn)oracle查詢用戶所有表,如果您對(duì)oracle查詢方面感興趣的話,不妨一看。

select * from all_tab_comments
-- 查詢所有用戶的表,視圖等

select * from user_tab_comments  
-- 查詢本用戶的表,視圖等

select * from all_col_comments
--查詢所有用戶的表的列名和注釋.

select * from user_col_comments
-- 查詢本用戶的表的列名和注釋

select * from all_tab_columns
--查詢所有用戶的表的列名等信息(詳細(xì)但是沒有備注).

select * from user_tab_columns
--查詢本用戶的表的列名等信息(詳細(xì)但是沒有備注).

--一般使用1:
select t.table_name,t.comments from user_tab_comments t

--一般使用2:
select r1, r2, r3, r5
from (select a.table_name r1, a.column_name r2, a.comments r3
          from user_col_comments a),
       (select t.table_name r4, t.comments r5 from user_tab_comments t)
where r4 = r1

以上就是oracle查詢用戶所有表的語句介紹。

 

 

【編輯推薦】

Oracle with語句的用法

Oracle查詢用戶表空間的實(shí)現(xiàn)

提高Oracle數(shù)據(jù)庫效率的方法

Oracle索引的優(yōu)化設(shè)計(jì)

16種oracle查詢?nèi)掌谡Z句

責(zé)任編輯:段燃 來源: 互聯(lián)網(wǎng)
相關(guān)推薦

2010-11-16 16:26:42

Oracle查詢用戶表

2010-10-29 16:48:30

oracle查詢所有表

2010-10-27 14:41:45

Oracle查詢用戶表

2009-10-21 16:03:06

Oracle查詢用戶表

2010-11-18 13:32:12

Oracle分頁查詢

2010-04-22 17:06:24

Oracle數(shù)據(jù)庫

2010-10-27 10:11:07

Oracle分頁查詢

2010-10-29 10:22:21

Oracle表空間

2010-04-19 16:28:04

Oracle導(dǎo)出

2009-04-09 13:14:09

Oracle分頁查詢CBO

2010-09-26 15:23:24

SQL語句

2010-11-16 10:15:24

oracle創(chuàng)建表空間

2010-05-04 15:15:39

Oracle分頁查詢

2010-04-19 09:37:22

Oracle查詢語句

2010-11-15 16:46:49

Oracle查詢效率

2010-10-27 13:04:37

oracle查詢?nèi)掌?/a>

2010-10-27 17:04:41

Oracle動(dòng)態(tài)查詢

2010-05-10 10:06:45

Oracle查詢表名

2009-10-20 18:30:03

Oracle查找用戶表

2009-11-02 18:03:25

Oracle用戶表空間
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)