Select ‘contribution amount/rate’= isnull(CAST(priceAmountMax/priceAmountpercetage as Decimal (15,3)),0)
From PriceList
I am sharing a part of my query. I’m using SQL Server. According to my query result I get:
divide by zero error encountered.
How can I edit this query. Thanks for your help.