You can add an aggregate view to create a view on multiple tables in the same database.
Click
File
New
Aggregate View
.
The
Aggregate View Editor
dialog box appears.
Enter a description for the aggregate view.
Click
Browse
in the
Select Table
field.
The
Choose Data Source
dialog box appears. This dialog box displays the sources available in the repositories. You can sort information in this dialog box by clicking the column headers. You can reduce the number of items to select by typing one or more letters of the table, file, or view name in the Search field.
Select a table and click
Select
.
To filter the available tables, enter a search string in the
Search
field.
Select a connection to the source that contains the tables included in the aggregate view.
If you select file source, select the source directory, file name, and file type in the
Select Connection for Table
area.
Select a group name if you use an XML, a PowerExchange for IMS, COBOL, or VSAM data source.
Only child elements of the XML group are available for use in the column definition of the aggregate view clause, table join field, and tests.
Specify an expression in the WHERE clause to filter the records. Filter the records to increase test performance.
If the data source is relational, Salesforce, SAP, or SAS, enable
Execute Where Clause in DB
if you want the data source to process the WHERE clause.
Specify the optimization level.
By default, Data Validation Option uses
Default
optimization, which sorts the source data.
To add columns from the tables to the aggregate view, click
Select Columns
in the
Column Definition
area.
The
Output Fields
dialog box appears.
Add the columns in the
Available Fields
pane to the
Selected Fields
pane.
Click
OK
.
The columns appear in the
Column Definition
area of the
Aggregate View Editor
dialog box.
To create a column, select a column
Column Definition
area, and click
New Column
.
The
Aggregate View Column Definition Editor
dialog box appears.
Enter the name, datatype, precision, scale, and expression for the column and click
Save
.
The column appears in the
Column Definition
area of the
Aggregate View Editor
dialog box.
Select
Group By
to specify columns for groupings.
To change the order of the columns, select a column and click