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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.