查詢oracle所有表

2022-08-12 06:42:13 字數 363 閱讀 1391

select * from all_tables where owner='test';

test為使用者名稱,使用者名稱必須是大寫。

檢視當前登入的使用者的所有表:

select table_name from user_tables;

檢視所有以 sym_ 開頭的所有表:

select table_name from user_tables where table_name like 'sym_%';

檢視除了以 sym_ 開頭的所有表:

select table_name from user_tables where table_name not like 'sym_%';

注意:引號必須是單引號

Oracle查詢所有表

select fromall tab comments 查詢所有使用者的表,檢視等 select fromuser tab comments 查詢本使用者的表,檢視等 select fromall col comments 查詢所有使用者的表的列名和注釋.select fromuser col co...

Oracle查詢使用者所有表

oracle 查詢使用者所有表 select from all tab comments 查詢所有使用者的表,檢視等 select from user tab comments 查詢本使用者的表,檢視等 select from all col comments 查詢所有使用者的表的列名和注釋.sel...

Oracle查詢使用者所有表

下面為您介紹的語句用於實現oracle查詢使用者所有表,如果您對oracle查詢方面感興趣的話,不妨一看。select from all tab comments 查詢所有使用者的表,檢視等 select from user tab comments 查詢本使用者的表,檢視等 select from...