How to deal with complex Teradata SQL queries

Saurabh Parmar
1 min readApr 25, 2021

In our daily work in Teradata SQL, we all have come across a situation where our batch jobs get failed due to some random data issues. To fix those issues we need to find out the bad record and then the bad value which is causing the issue. And to achieve that we need to deal with very complex SQL queries which involves multiple derived tables or subqueries. Sometimes it becomes very difficult to track the columns across the derived tables or subqueries which also involves very complex logics for derived columns and joins in it.

In this situation volatile table is a very powerful tool comes very handy to resolve such issues. Volatile tables are the temporary tables in Teradata which survives only till your current session ends. Below are the few advantages using Teradata volatile tables while doing your analysis –

To see more please visit the below link: https://www.linkedin.com/pulse/how-deal-complex-teradata-sql-queries-saurabh-singh-parmar/

--

--

Saurabh Parmar

I am an IT Engineer with 8 years of working experience. I sometimes try to observer what is happening around and like to add my own perspective about it.