Unanticipated Results: Uncovering Five Unexpected Outcomes in PROC SQL Joins
September 24, 2024: 8:00 AM - 8:30 AM
Data Collection, Management & Manipulation, Brookside B

Authors Abstract
Kiran Venna This paper explores five scenarios where unexpected results may occur when using PROC SQL joins. The first scenario investigates the impact of missing values in datasets used in a join. The second scenario examines how the order of multiple tables in a join can affect the results. The third scenario focuses on unexpected outcomes in a LEFT JOIN when a WHERE clause is used instead of an AND condition. The fourth scenario addresses the issue of joining datasets without considering duplicates from the joining datasets. Lastly, the fifth scenario explores the potential for unexpected results when using joins based on the INDEX function or the LIKE operator.

Paper