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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
