Skip to content
Advertisement

Avoid NULL value in CASE SQL SERVER

How to avoid NULL values in CASE and SUM by P.Id. Problem is that i have more than one DPB.ProductTypeId in DPB table

Advertisement

Answer

use case when inside sum

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement