BookmarkSubscribeRSS Feed
nickspencer
Obsidian | Level 7
Hello everyone,
I have my source data in oracle table. I am bringing this data to SAS and applying some logic. But some of the reference data is stored in teradata table. I am having hard time deciding how to bring in the teradata reference table to SAS since it is a huge table with about 400 million records.
I was thinking of loading this sas dataset to teradata but we do not have capability to create tables in teradata in production. I found a way to create volatile table in teradata with this sas dataset but since the dataset is also so big that it may not be efficient to create volatile table.
Please suggest me the options to join this sas dataset to this large teradata reference table. Any suggestions will be highly appreciated.

Thanks,
Nick
4 REPLIES 4
SASKiwi
PROC Star

How many rows are in your SAS table? How many columns are you joining into your SAS table from Teradata? If your SAS table is significantly smaller than the Teradata one it would make sense to load that into Teradata as a volatile table and join to your Teradata table. Where is the result table going?

nickspencer
Obsidian | Level 7
@SASKiwi my SAS table has around 100k records. Do you think it might be a good idea to load them to the teradata volatile table ?
SASKiwi
PROC Star

@nickspencer - Yes. To me it makes sense to load the smaller table to where the larger one is. Is your result table being used in SAS or somewhere else?

ChrisNZ
Tourmaline | Level 20

So you have a number of key values for which you want to retrieve data in Teradata?

How many values? And how many records do you expect back? One record per key value?

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