Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Join many data sets - topic by tdxue

$
0
0
Hello everyone, I am writing a SQL in Teradata which need to join about 40 datasets. Luckily the code for joining tables is almost the same except for changing the number in the name of datasets. How can I do this with some 'DO-LOOP' type of code to reduce the length, instead of repeating the same part 40 times? Thank you. Jerry

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>