db2.information_schema.ADDITIONAL_TABLE_ATTRIBUTES.sql Maven / Gradle / Ivy
SELECT
NULLIF(1, 1) AS TABLE_CATALOG,
LTRIM(RTRIM(SYSCAT.TABLES.TABSCHEMA)) AS TABLE_SCHEMA,
LTRIM(RTRIM(SYSCAT.TABLES.TABNAME)) AS TABLE_NAME,
SYSCAT.TABLES.CREATE_TIME,
SYSCAT.TABLES.ALTER_TIME,
LTRIM(RTRIM(SYSCAT.TABLESPACES.TBSPACE)) AS TABLE_SPACE
FROM
SYSCAT.TABLES
INNER JOIN SYSCAT.TABLESPACES
ON SYSCAT.TABLES.TBSPACEID = SYSCAT.TABLESPACES.TBSPACEID
WITH UR
© 2015 - 2025 Weber Informatics LLC | Privacy Policy