BookmarkSubscribeRSS Feed
Amir
PROC Star

Hi,

 

Amir_1-1704717767788.png

 

 

For future reference, please see volatile and violate .

 

 

Thanks & kind regards,

Amir.

Ronein
Onyx | Level 15

I am allowed to create only volatile 

Tom
Super User Tom
Super User

@Ronein wrote:

I am allowed to create only volatile 


That will make it harder to work with Teradata, unless things have changed in the past 5 years.

We used to create small permanent individual or team databases for users so that they could store things temporarily.

It was especially important when needing to upload some data into Teradata so it could be used to drive the Teradata queries.  For example to upload a set of IDS to use to subset from the large database. With a permanent table you could use BULKLOAD (fastload?) feature and so jobs would run much faster than when trying to copy the same amount of data into a volatile table.

AhmedAl_Attar
Ammonite | Level 13

@Ronein 

Have you considered using CTE(s) instead of Volatile Tables in Teradata?

https://support.teradata.com/community?id=community_question&sys_id=c258c3671b97fb00682ca8233a4bcba2

https://support.teradata.com/community?id=community_question&sys_id=45d68bef1b57fb00682ca8233a4bcb55

 

If you only want to derive subset of data based on information held in another derived table/query, CTE might be a better option!? The above two links might provide you with some insight.

Disclaimer: I have used CTE(s) before with Snowflake but not Teradata.

 

Hope this helps,

Ahmed

 

 

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 18 replies
  • 4281 views
  • 5 likes
  • 6 in conversation