Previous Topic: Deriving Views from Various SourcesNext Topic: Deriving Views from Non-SQL Defined Records


Deriving Views from Data Tables

When deriving views from data tables, the Extended Table Derivation screen is an extension of the derivation portion of the Table Definition screen. It enables you to identify additional source tables and join criteria.

The first two source tables identified and the first join condition specified will be displayed on both screens.

Use the Extended Table Derivation screen to derive from additional tables.

Identify Sources

To identify tables for derivation, use the upper portion of the screen. Identify up to six source tables by completing the Source Name and Source Owner fields under each Derivation Source heading. Page forward as needed to identify additional source tables; a maximum of six source tables can be identified.

Specify Join Criteria

To specify join criteria, move the cursor to the lower portion of the screen. Use the following steps to enter each join condition:

Note: When specifying the derivation source number for a join column, be sure to verify the number assigned to the source table in the upper portion of the screen.

Join Considerations

When joining source tables, the following conditions apply:

A source table used to derive a view can be a view itself so long as the source was not non-SQL defined records.