![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 20 Sep 2002 @ 06:34:43 GMT
try
(amt_month1 + coalesce(amt_month2,0) + coalesce(amt_month3,0))
*(case
when amt_month3 is not null then 4
when amt_month2 is not null then 6
else 12
end)
Dieter
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||