Table Example.MailOrder is set as the active table.
This table is the fact table for the star schema.
The SCHEMA statement joins the tables Catalog, Products,
and Customers to the active table, MailOrder. The columns to use as
keys for joining each table are enclosed in parenthesis.
The result of the SCHEMA statement is a temporary
table or view. Use the &_TEMPLAST_ macro variable to refer to
the star schema. If you want to persist the star schema, use the PROMOTE
statement.
Output
The following output
shows the temporary table name and how the dimension table names are
used as prefixes for the column names.