Table of Contents

Search

  1. Preface
  2. Introduction to Test Data Management
  3. Test Data Manager
  4. Projects
  5. Policies
  6. Data Discovery
  7. Creating a Data Subset
  8. Performing a Data Masking Operation
  9. Data Masking Techniques and Parameters
  10. Plans and Workflows
  11. Monitor
  12. Reports
  13. ilmcmd
  14. Data Type Reference
  15. Data Type Reference for Hadoop

Creating a Logical Relationship Between Tables

Creating a Logical Relationship Between Tables

You can add a logical foreign key to a table to create a table relationship for data subset. Choose a column from a parent table to establish a key relationship between the tables.
  1. In a project, click
    Discover
    Tables
    .
  2. Click the table in which you want to create the foreign key.
  3. Click the
    Constraints
    tab.
  4. Click
    Create New Constraint
    .
  5. Enter the constraint properties.
    The following table describes the constraint properties:
    Property
    Description
    Name
    Constraint identifier.
    Constraint Type
    Select the constraint type as Foreign Key.
    Parent Table
    Choose the parent table to establish the foreign key with.
    Enable Constraint
    Enable the foreign key relationship.
  6. Click
    Next
    .
    A list of the columns in the table appears in the left panel. A list of the columns in the parent table appears in the right pane.
  7. Click a child column from the left pane. Click a parent column from the right pane. Click the
    Link
    icon to map the parent-child relationship.
  8. Click
    Finish
    .