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

Loop Statement in Teradata Stored Procedure - response (1) by dnoeth

$
0
0

Why different queries? 
Couldn't you simply use WHERE CUST_NAME = 'AMY' OR CUST_NAME = 'JAMES'?
Or if this was just an example and you're actually accessing different tables:
SELECT ...
UNION ALL
SELECT ...
UNION ALL
 
Dieter
 

 


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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