Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle list subpartitions

-- Partitions of a table
SELECT TABLE_OWNER, TABLE_NAME, PARTITION_NAME, SUBPARTITION_COUNT, 
       HIGH_VALUE, PCT_USED, NUM_ROWS, LAST_ANALYZED
FROM DBA_TAB_PARTITIONS
WHERE TABLE_OWNER = 'MY_OWNER'
  AND TABLE_NAME = 'MY_TABLE';
-- Subpartitions of a table
SELECT TABLE_OWNER, TABLE_NAME, PARTITION_NAME, SUBPARTITION_NAME, 
       HIGH_VALUE, PCT_USED, NUM_ROWS, LAST_ANALYZED
FROM DBA_TAB_SUBPARTITIONS
WHERE TABLE_OWNER = 'MY_OWNER'
  AND TABLE_NAME = 'MY_TABLE';
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql export data with a where clause 
Sql :: cloudformation deploy sqs example 
Sql :: change redo log file size in mysql 5.6 
Sql :: convert sql query to linq online 
Sql :: decalre table in sql 
Sql :: download mysql database to excel in android studio 
Sql :: print intervals of 15 minutes in sql query 
Sql :: restarting of postgresql server when not connecting to default port 
Sql :: liquibase create table example 
Sql :: druid sql list all tables 
Sql :: How to pass list as parameter in SQL query 
Sql :: kill slow queries mysql 
Sql :: sqlite display data in separated columns 
Sql :: sql server assembly 
Sql :: ring MySQL presents the usage of MySQL_Autocommit(), MySQL_Commit() & MySQL_RollBack() functions. 
Sql :: SQL Primary Key Error 
Sql :: subquery postgresql syntax 
Sql :: fill a coulmn with a certain value sql 
Sql :: plsql listagg 
Sql :: SQL Copy Selected Columns Only 
Sql :: localhost ERROR 2006 (HY000) at line 1163: MySQL server has gone away 
Sql :: execute stored procedure without db set 
Sql :: SQL sum column resulting from query 
Sql :: Enable outgoing remote MySQL access 
Sql :: how many rows affected in sqllite 
Sql :: liquibase default-schema in sql 
Sql :: mysql primary vs unique 
Sql :: inner join multiple conditions 
Sql :: utiliser sql ligne de commande 
Sql :: Select Some From A Table In MySQL Database 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =