Entering content frame

 FOREIGNKEYS 

Using the system table FOREIGNKEYS, you can determine the following database information, among other things:

All referential constraints in which table CUSTOMER is the referenced table
SELECT columnname, fkeyname, rule
  FROM DOMAIN.FOREIGNKEYS
    WHERE tablename = 'CUSTOMER'

Columns in referential constraints: see FOREIGNKEYCOLUMNS

 

Leaving content frame