cschristian78
Technical User
Is it possible to have the follow?
(CASE when [AcctTIV] = 0 or case when [BLANLIMAMT] = 0
THEN 0
ELSE [StateTIV]/[AcctTIV]*[BLANLIMAMT]
END) AS ProRata
Or is this the only way?
(CASE when [AcctTIV] = 0 THEN
case when [BLANLIMAMT] = 0
THEN 0
ELSE [StateTIV]/[AcctTIV]*[BLANLIMAMT]
END
ELSE [StateTIV]/[AcctTIV]*[BLANLIMAMT]
END) AS ProRata
Thanks,
Scott
(CASE when [AcctTIV] = 0 or case when [BLANLIMAMT] = 0
THEN 0
ELSE [StateTIV]/[AcctTIV]*[BLANLIMAMT]
END) AS ProRata
Or is this the only way?
(CASE when [AcctTIV] = 0 THEN
case when [BLANLIMAMT] = 0
THEN 0
ELSE [StateTIV]/[AcctTIV]*[BLANLIMAMT]
END
ELSE [StateTIV]/[AcctTIV]*[BLANLIMAMT]
END) AS ProRata
Thanks,
Scott