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

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.