I have two tables like these -
Table 1
Col_a Col_b
a b
a b
Table 2
Col_c Col_d
c d
c d
I want to merge these tables like this-
Table 3
Col_a Col_b Col_c Col_d
a b c d
a b c d
A simple data step MERGE without a BY does this.
This is exactly what the Merge Statement does without the By Statement.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.