檢視oracle表的分割槽資訊

2021-09-02 09:45:14 字數 1384 閱讀 9786

顯示分割槽表資訊

顯示資料庫所有分割槽表的資訊:dba_part_tables

顯示當前使用者可訪問的所有分割槽表資訊:all_part_tables

顯示當前使用者所有分割槽表的資訊:user_part_tables

顯示表分割槽資訊 顯示資料庫所有分割槽表的詳細分割槽資訊:dba_tab_partitions

顯示當前使用者可訪問的所有分割槽表的詳細分割槽資訊:all_tab_partitions

顯示當前使用者所有分割槽表的詳細分割槽資訊:user_tab_partitions

顯示子分割槽資訊 顯示資料庫所有組合分割槽表的子分割槽資訊:dba_tab_subpartitions

顯示當前使用者可訪問的所有組合分割槽表的子分割槽資訊:all_tab_subpartitions

顯示當前使用者所有組合分割槽表的子分割槽資訊:user_tab_subpartitions

顯示分割槽列 顯示資料庫所有分割槽表的分割槽列資訊:dba_part_key_columns

顯示當前使用者可訪問的所有分割槽表的分割槽列資訊:all_part_key_columns

顯示當前使用者所有分割槽表的分割槽列資訊:user_part_key_columns

顯示子分割槽列 顯示資料庫所有分割槽表的子分割槽列資訊:dba_subpart_key_columns

顯示當前使用者可訪問的所有分割槽表的子分割槽列資訊:all_subpart_key_columns

顯示當前使用者所有分割槽表的子分割槽列資訊:user_subpart_key_columns

怎樣查詢出oracle資料庫中所有的的分割槽表

select * from user_tables a where a.partitioned='yes'

刪除乙個表的資料是truncate table table_name;

刪除分割槽表乙個分割槽的資料是alter table table_name truncate partition p5;

如果我要將分割槽表中各個分割槽的資料都清空,可以用truncate table table_name;嗎?

還是必須從頭執行alter table table_name truncate partition p1;

alter table table_name truncate partition p2;

alter table table_name truncate partition p3;

alter table table_name truncate partition p4;

alter table table_name truncate partition p5;

alter table table_name truncate partition p6;

答:truncate table table_name;

檢視oracle分割槽表資訊

顯示資料庫所有分割槽表的資訊 dba part tables 顯示當前使用者可訪問的所有分割槽表資訊 all part tables 顯示當前使用者所有分割槽表的資訊 user part tables 顯示表分割槽資訊 顯示資料庫所有分割槽表的詳細分割槽資訊 dba tab partitions 顯...

ORACLE中如何檢視分割槽表資訊

顯示分割槽表資訊 顯示資料庫所有分割槽表的資訊 dba part tables 顯示當前使用者可訪問的所有分割槽表資訊 all part tables 顯示當前使用者所有分割槽表的資訊 user part tables 顯示表分割槽資訊 顯示資料庫所有分割槽表的詳細分割槽資訊 dba tab par...

分割槽資訊檢視

分割槽 顯示資料庫所有分割槽表的資訊 dba part tables 顯示當前使用者可訪問的所有分割槽表資訊 all part tables 顯示當前使用者所有分割槽表的資訊 user part tables 顯示表分割槽資訊 顯示資料庫所有分割槽表的詳細分割槽資訊 dba tab partitio...