BookmarkSubscribeRSS Feed
BrahmanandaRao
Lapis Lazuli | Level 10

hi guys

 

can anyone all joins examples in proc sql and datastep

 

 

2 REPLIES 2
PeterClemmensen
Tourmaline | Level 20

Do a Google search or search the communities in here. 

 

Or if you want help with an actual problem, please be more specific in your requirements. 

Amir
PROC Star

More detail in your question would result in more detailed answers.

 

If I've understood you correctly, you want to know what join methods there are in SQL and in data step code. Based on that understanding the following link shows example joins in SQL:

 

http://support.sas.com/documentation/cdl/en/sqlproc/63043/HTML/default/viewer.htm#p0o4a5ac71mcchn1kc...

 

and the data step join can be achieved by using the merge statement (amongst other methods), as shown in the examples in the following link:

 

http://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/viewer.htm#a001318494.htm

 

These links were found just by doing a web search for "proc sql join" and "SAS merge" respectively.

 

What are you trying to do?

Have you tried something and are getting an error?

 

Please share more information if you need a more targeted response.

 

Regards,

Amir.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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
  • 2 replies
  • 611 views
  • 0 likes
  • 3 in conversation