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

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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