select id,((@Paying_Days-@ATB)*15)
case
when SM_Conveyance > 0 then SM_Conveyance
else 0
end
how can i use case for that because no need minus values
ex :
1-2= -1
i want print as 0
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Piyush PansuriyaRank #454 · 5.5K reputationPosted Feb 20, 2018, 10:56 PM EST