Table of Contents


  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. Glossary

Expression Generation

Expression Generation

An expression generation rule is an ad hoc rule that generates data from an expression. You can create expression rules with the string, numeric, and date datatypes.
When you create an expression generation rule, you use the
Expression Builder
to create an expression. In the
Expression Builder
, you can choose from a list of columns and functions to include in the expression. To enter a join condition, you can choose columns and operators. Click the
arrow to include the column in the expression.
If you select
Override Data Type to Numeric
for a column with string data type, you cannot enter a numeric expression.
The following image shows the expression generation parameters:
The New Generation Rule dialog box shows the expression and null values that you can create to generate test data.

Expression Generation Example

You want to create a Name column that combines the data from the FirstName and LastName columns. You use the following expression to create the rule:
CONCAT (FirstName+'/'+LastName)