The DB2 UDB glossary query returns the names of the database and tablespace which contain the table, the entity and data model which define the table and other characteristics of the DB2 UDB table identified in the WHERE clause.
View type: DAQDB2csTable
Modifications:
Change the search criteria of the table name using the = (equals), IN or LIKE elements in the WHERE clause. In order to provide unique DB2 UDB table names, the name has the format <>RelSystem:Schema:Database::TableName<variation:revision>.
To find all DB2 UDB tables which have a specific simple name, use the LIKE clause with % any of the first three qualifiers. To speed up your query, use % to include the colons and separators. For example, if you want all tables starting "CUST", specify LIKE '%::CUST%'.
#MODIFIED#
#VERSION#
#SQL STATEMENT#
--DA_DB2udbTableGlossary
SELECT DISTINCT
dt.db2csTable,
dt."schema",
dt.inRelationalSystem..relationalSystem,
dt.inPhysicalDesign..db2csPhysicalDesign,
dt.inPrimaryTablespace..db2csTablespace as primaryTablespace,
dt.usesIndexTablespace..db2csTablespace as indexTablespace,
dt.usesLongTablespace..db2csTablespace as longTablespace,
dt.inDatabase..db2csDatabase,
t.tableDefinition,
-- entity and data model which are the source of the table