Hvilke kolonner er ATTR_TYPE_VALUE_FK02
defineret på, og hvilke tabeller og kolonner refererer du til?
SELECT fk_columns.table_name,
fk_columns.column_name,
fk_columns.position,
pk_columns.table_name,
pk_columns.column_name,
pk_columns.position
FROM all_constraints fk_constraint,
all_cons_columns fk_columns,
all_cons_columns pk_columns
WHERE fk_constraint.owner = 'LO'
AND fk_constraint.constraint_name = 'ATTR_TYPE_VALUE_FK02'
AND fk_constraint.owner = fk_columns.owner
AND fk_constraint.constraint_name = fk_columns.constraint_name
AND fk_constraint.r_owner = pk_columns.owner
AND fk_constraint.r_constraint_name = pk_columns.constraint_name