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. Datatype Reference
  22. Reporting Views
  23. Metadata Import Syntax
  24. Jasper Reports
  25. Glossary

Data Validation Option User Guide

Data Validation Option User Guide

SQL Views Overview

SQL Views Overview

Create an SQL view to produce a set of fields that you can use as a table in a single table or table pair. In an SQL view definition, you specify an SQL statement that can combine multiple sources, calculate field values, and filter columns and rows.
You can create an SQL view based on one or more relational tables that exist in the same database.
When you specify the SQL statement for an SQL view, you can add database functions, any join type, subqueries, and stored procedures in the SQL statement.
When you run a single-table test or table-pair test based on an SQL view, the database processes the SQL statement defined for the SQL view.