Table of Contents

Search

  1. Preface
  2. Introduction to Test Data Management
  3. Test Data Manager
  4. Projects
  5. Policies
  6. Data Discovery
  7. Data Subset
  8. Data Masking
  9. Data Masking Techniques and Parameters
  10. Data Generation
  11. Data Generation Techniques and Parameters
  12. Data Sets
  13. Plans and Workflows
  14. Monitor
  15. Reports
  16. ilmcmd
  17. tdwcmd
  18. tdwquery
  19. Data Type Reference
  20. Data Type Reference for Test Data Warehouse
  21. Data Type Reference for Hadoop
  22. Glossary

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.
    When you want to perform a data generation operation, you select the constraint type as Conditional.
    Severity Level
    Choose one of the following values:
    • Major. The relationship includes the parent table and it includes the other children of the parent.
    • Minor. The relationship includes the parent table but it does not include the other children of the parent.
    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
    .