Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange for SAS
  3. PowerExchange for SAS Installation and Configuration
  4. SAS Connections
  5. SAS Data Objects
  6. SAS Run-Time Processing
  7. Appendix A: SAS Data Types Reference
  8. Appendix B: SPI Server Configuration Parameters
  9. Appendix C: SAS Error Messages

PowerExchange for SAS User Guide

PowerExchange for SAS User Guide

Joining tables in SAS

Joining tables in SAS

You can join tables in SAS by selecting the tables into one data object read operation. The SAS system performs the join.
The attributes related to the table join can be accessed through the
Join
tab in the Query properties of Output Properties of a data object read operation:
  • Join Type. Supported join types are the inner join, full outer join, left outer join, and right outer join. Note that only in the case of an inner join more than two tables can be joined.
  • Join Condition. You can define the condition that defines the join to be executed. The join condition is entered using the join condition builder dialog that you can access by clicking the button next to the join condition field. For a full description of valid join conditions in SAS, see the SAS documentation. If no join condition is specified, a join condition will be generated based on the existing primary key and foreign key relations between the sources as defined for the data objects.
  • Left table. When you select left outer join or right outer join as the join type, this option lets you define which of the two participating tables is to be considered as the left table.

0 COMMENTS

We’d like to hear from you!