Table of Contents

Search

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

Data Validation Option User Guide

Data Validation Option User Guide

Column Aliases

Column Aliases

You can create an alias for the columns of a join view. You might create a column alias to shorten or change the column name in the join view.
You might need to shorten the view column name if the length causes a database error when PowerCenter processes a test based on the join view. By default, Data Validation Option appends the table name to the table column name to generate the view column name.
You might change the name of the view column to make the column name more descriptive. Or, to automatically generate table-pair tests based on matching column names, you can use a column alias to ensure that the column names in both tables match.
If applicable, you must override the column alias before you create an expression for the join condition. Data Validation Option processes the join condition using the column aliases. If you create the join condition expression based on the original column names and then override the column aliases, an error occurs.