BookmarkSubscribeRSS Feed
edasdfasdfasdfa
Quartz | Level 8

If I need to feed the data from a table that is on the server with the table that I do in SAP's excel after the analysis, can I join it automatically?

3 REPLIES 3
ButterflyData
Calcite | Level 5

Only if the fields on both tables have the same data type and column name

edasdfasdfasdfa
Quartz | Level 8

Yes. This is the case. How would I go about this?

Tom
Super User Tom
Super User

You need to provide a lot more detail about what you have and what you are trying to do.

The NATURAL JOIN syntax in PROC SQL will autodetect matching variable names and use those as keys when joining datasets.

proc sql;
create table want as
select * 
from a natural join b
;
quit;

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 578 views
  • 0 likes
  • 3 in conversation