Skip to Main Content
SAS Certified Professional Prep Guide
book

SAS Certified Professional Prep Guide

by SAS Institute
October 2019
Intermediate to advanced content levelIntermediate to advanced
430 pages
19h 4m
English
SAS Institute
Content preview from SAS Certified Professional Prep Guide

Using the OUTER UNION Set Operator

A Brief Overview

The set operator OUTER UNION concatenates the results of the queries:
  • It selects all rows (both unique and nonunique) from both tables.
  • It does not overlay columns.
Figure 4.6 Outer Union Set Operator Relationship
Outer Union Set Operator Relationship
The following examples demonstrate how OUTER UNION works when used alone and with the keyword CORR. The keyword ALL is not used with OUTER UNION because this operator's default action is to include all rows in output.

Example: Using the OUTER UNION Operator Alone

Suppose you want to display all rows from both of the tables Col1 and Col2, without overlaying columns. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SAS Certified Specialist Prep Guide

SAS Certified Specialist Prep Guide

SAS Institute
SAS in Practice

SAS in Practice

Ekta Saraogi

Publisher Resources

ISBN: 9781642954692