No can do directly in Impromptu, unless you do a
very convoluted double outer-join syntax, which I am
NOT going to go into here. You can, however, create a UNION view in your database that automatically does the same thing. The syntax is
CREATE VIEW
viewname AS
SELECT COL1, COL2, COL3 FROM TABLE 1
WHERE CONDITIONS
UNION
SELECT COL1, COL2, COL3 FROM TABLE 2
WHERE CONDITIONS;
The key points to remember are
1) the columns must be the same
type, i.e text, number, date, etc.
2) the union automatically returns a DISTINCT result, so if the two SELECTS return data with exactly the same information, only one of the rows would be included in the view. To avoid this include some column in both that
guarantees each will be unique.
Hope this helps,
Dave Griffin
The Decision Support Group
Reporting Consulting with Cognos BI Tools
"Magic with Data"