Table of Contents


  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

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)