BookmarkSubscribeRSS Feed
jessalex
Calcite | Level 5

I'm currently working on a project that requires complex data analysis. I'm having trouble with PROC SQL and joining multiple tables. Are there any tips or resources that can help me streamline this process? Your insights would be greatly appreciated!

3 REPLIES 3
Kurt_Bremser
Super User

Show us information about the table structures.

Describe how you need to join them., which variables are needed in the result.

Describe the relationships with regards to the key variables (1:1, 1:many, many:many).

Show your current code.

Ideally, provide examples for your datasets in working DATA steps with DATALINES.

ballardw
Super User

May depend on WHY you are joining. If the reason is to get one value based on another single value, such as looking up an account number to match to a name it may be that a FORMAT is an approach,  using one or more of the sets to create formats and then you may not need the join at all as use of the format at report time will do the "join".

 

Details count in programming in general.

 

 

LinusH
Tourmaline | Level 20

Not sure what you mean by streamline the process.

If you aren't how to go about it, the best IMO is to hook up with somene experinced in similar activities.

Crazy idea, you could try to describe your problem to ChatGPT or similar AI, that could you started at least :-)?

Data never sleeps

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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 lock in 2025 pricing—just $495!

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