|
本帖最后由 botang 于 2015-4-3 21:23 编辑
- select i.INDEX_NAME ,i.STATUS from dba_indexes i where i.TABLE_NAME like 'T%00' and i.OWNER='SH';
- select * from dba_part_indexes i where i.TABLE_NAME='ORDERS' and i.OWNER='SH';
- SELECT ui.index_name, DECODE(uip.status,null,ui.status,uip.status)
- FROM dba_ind_partitions uip, dba_indexes ui
- WHERE ui.index_name=uip.index_name(+)
- AND ui.table_name='ORDERS' and ui.OWNER='SH'
- GROUP BY ui.index_name, DECODE(uip.status,null,ui.status,uip.status);
- select t.PARTITIONING_TYPE, t.TABLE_NAME, t.REF_PTN_CONSTRAINT_NAME ,t.INTERVAL
- from dba_part_tables t where t.TABLE_NAME in ('T100','T200','T300') and t.OWNER='SH';
-
-
- select tp.TABLE_NAME, tp.PARTITION_NAME, tp.HIGH_VALUE ,tp.TABLESPACE_NAME
- from dba_tab_partitions tp where tp.TABLE_NAME in ('T100','T200','T300') and tp.TABLE_OWNER='SH'
- order by tp.table_NAME , tp.PARTITION_NAME;
-
复制代码
|
|