Table of Contents

Search

  1. Preface
  2. Introduction to Data Validation Option
  3. Repositories
  4. XML Data Source
  5. Tests for XML Data Sources
  6. Connections
  7. Expressions
  8. Table Pairs
  9. Tests for Table Pairs
  10. Single-Table Constraints
  11. Tests for Single-Table Constraints
  12. Examples of Tests from Spreadsheets
  13. SQL Views
  14. Lookup Views
  15. Join Views
  16. Aggregate Views
  17. Business Intelligence and Reporting Tools Reports
  18. Dashboards
  19. DVOCmd Command Line Program
  20. Troubleshooting
  21. Appendix A: Datatype Reference
  22. Appendix B: Reporting Views
  23. Appendix C: Metadata Import Syntax
  24. Appendix D: Jasper Reports
  25. Appendix E: Glossary

Data Validation Option User Guide

Data Validation Option User Guide

Field Expressions

Field Expressions

A field expression represents the value of a field. Create a field expression to change the value, datatype, scale, or precision of a field.
For example, you perform a case-sensitive comparison between the field values of the LAST_NAME fields in two tables. The first table contains values with lowercase letters. The second table contains values with uppercase letters. To match the field values, you convert the uppercase letters in the second table to lowercase. You enter the following field expression for the field of the second table:
lower(LAST_NAME)
.
You can include field expressions in join conditions for table pairs, join views or aggregate views or in source-to-lookup relationships for lookup views.
When you create a field expression, you also specify the datatype, precision, and scale of the expression result. You must ensure that the datatype, precision, and scale of the field expression are valid. For example, you create a join condition between a field and a field expression. The datatype of the field expression must be compatible with the datatype of the other field in the join condition.

0 COMMENTS

We’d like to hear from you!