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

incorrect use of subquery error - response (1) by Fred

$
0
0

Move the calculation of REJ_CNT from the DERV2 subquery to the outer query.
Also note that a CASE expression must return the same data type for all conditions (e.g. the numeric value will be implicitly converted to VARCHAR).


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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