The incomplete DB2 UDB Table query returns the names of DB2 UDB tables which are incomplete. During the DataAtlas populate function an incomplete table is created when an unknown table is referenced by a foreign keys in the table being populated.
To complete the table defintion you must populate it.
View type: DAQDB2csTable
Modifications:
None.
#MODIFIED#
#VERSION#
#SQL STATEMENT#
--DA_DB2udbTableIncomplete
SELECT
t.db2csTable,
kd.primaryKeyDependentDB2csTable as dependentTable
FROM OUTER
DAQDB2csTable t,
(t.usesTableDefinition) td,
(td.hasKeyDefinition) kd
WHERE
t.usesTableDefinition is null OR
EXISTS (SELECT 1
FROM (t.usesTableDefinition) tc
WHERE tc.columnName IS NULL or tc.columnName = '')