BookmarkSubscribeRSS Feed
Babloo
Rhodochrosite | Level 12

Could you please help me understand the difference between hash join and proc sql join?

5 REPLIES 5
novinosrin
Tourmaline | Level 20

Hi @Babloo  , Besides documentation, why not invest in some books offered by SAS press?

 

PROC SQL: Beyond the Basics Using SAS, Second Edition

 

 

LinusH
Tourmaline | Level 20

Perhaps just adding confusion, but "hash" is a quite generic term. If one refer to the programming technique in the data step, I think we should call it Hash Table (join).

Because, you can do hash joins in SQL as well (but here it happens behind the scenes given certain criteria’s, upon which the optimizer makes a decision what algorithm to use).

Data never sleeps

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 1509 views
  • 0 likes
  • 4 in conversation