Overview
Introduction
Suppose you are generating
a report based on data from a health clinic. You want to display the
results of individual patient stress tests taken in 1998 (which are
stored in Table A), followed by the results from stress tests taken
in 1999 (which are stored in Table B). Instead of combining the table
rows horizontally, as you would in a PROC SQL join, you want to combine
the table rows vertically (one on top of the other).
When you need to select data from multiple tables and combine the tables vertically, PROC SQL can be an efficient alternative to using other SAS procedures or the DATA step. In a PROC SQL set operation, ...
Get SAS Certification Prep Guide, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.