17.10 - Example: Select a List of Tables and Join Indexes with Partitioning from IndexConstraints - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Data Dictionary

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Administration
Programming Reference
Publication ID
B035-1092-171K
Language
English (United States)

The following query retrieves a list of tables and join indexes that have partitioning, including their index constraint text:

SELECT DatabaseName, TableName (TITLE 'Table/Join Index Name'),
      ConstraintText
  FROM DBC.IndexConstraints
  WHERE ConstraintType = 'Q'
  ORDER BY DatabaseName, TableName;