oracle查詢使用者表

2021-08-25 20:00:35 字數 701 閱讀 2888

◆oracle查詢使用者表空間:select * from user_all_tables

◆oracle查詢所有函式和儲存過程:select * from user_source

◆oracle查詢所有使用者:select * from all_users.select * from dba_users

◆oracle檢視當前使用者連線:select * from v$session

◆oracle檢視當前使用者許可權:select * from session_privs

◆oracle檢視使用者表空間使用情況:

select a.file_id "fileno",a.tablespace_name

"tablespace_name",

a.bytes "bytes",a.bytes-sum(nvl(b.bytes,0)) "used",

sum(nvl(b.bytes,0)) "free",

sum(nvl(b.bytes,0))/a.bytes*100 "%free"

from dba_data_files a, dba_free_space b

where a.file_id=b.file_id(+)

group by a.tablespace_name ,

a.file_id,a.bytes order by a.tablespace_name;

Oracle中查詢使用者表

在oracle中檢視所有的表 select from tab dba tables dba objects cat 看使用者建立的表 select table name from user tables 當前使用者的表 select table name from all tables 所有使用者的...

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...