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. Data Generation
  11. Data Generation Techniques and Parameters
  12. Working with Test Data Warehouse
  13. Analyzing Test Data with Data Coverage
  14. Plans and Workflows
  15. Monitor
  16. Reports
  17. ilmcmd
  18. tdwcmd
  19. tdwquery
  20. Data Type Reference
  21. Data Type Reference for Test Data Warehouse
  22. Data Type Reference for Hadoop
  23. Glossary

User Guide

User Guide

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
    .

0 COMMENTS

We’d like to hear from you!