sql >> Base de Datos >  >> RDS >> Sqlserver

Reemplazar nulo con cero

Puede usar la función ISNULL así:

ISNULL(b.bId, 0) bId