Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle list partitions

-- 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 = 'DSI_TAHITI'
  AND TABLE_NAME = 'COURBE';
-- 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 = 'DSI_TAHITI'
  AND TABLE_NAME = 'COURBE';
Comment

PREVIOUS NEXT
Code Example
Sql :: change date in pivot table to month in sql server 
Sql :: Can you Join two Tables With Common Column? 
Sql :: rename view mysql 
Sql :: mysql preg replace 
Sql :: Ms Sql set us timezone 
Sql :: postgresql create user roles 
Sql :: show last sql executed in oracle 
Sql :: mysql trim characters 
Sql :: mariadb check constraint example? 
Sql :: order by postgres 
Sql :: test database for sql 
Sql :: sql select only row with the max date 
Sql :: mysql comparing dates 
Sql :: if exist column in table drop sql query mysql 
Sql :: trigger sql server 
Sql :: how to insert multiple rows in mysql using laravel 
Sql :: json object to column value in sql server 
Sql :: connect mysql 
Sql :: sqlite select regex 
Sql :: select sql 
Sql :: nested query 
Sql :: select from table and insert into table in sql 
Sql :: ring MySQL commit updates to the database 
Sql :: get relation data in mysql using query to excel 
Sql :: ring execute query then print the query result. 
Sql :: {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index 
Sql :: execute oracle ash command 
Sql :: sql server: concatinate column value without trailing or leading comma 
Sql :: how to see table associated with a schema in sql 
Sql :: tornado_mysql 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =