Hi I have following select command in SQL Server. I am trying to change it so if b.bId is null i want to assign it 0 value. So it displays 0 in the field.
selec
Or you can use the COALESCE Function
COALESCE(b.bId, 0) AS bId
Performance: ISNULL vs. COALESCE