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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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