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

'If' .. Then statement in Teradata ? - forum topic by DataHead

$
0
0

HI,
I need to find a way to SUM a field where, IF it contains a '0', I want to replace it with some text or any other value.
So the value isn't NULL & NULLIF won't work.
The syntax would be something like 'IF((SUM(Billed_Amount) = '0'), 'No_Charge')).
Thanks for any suggests! 
 

Forums: 

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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