con ISNULL, visto che usi M$SQL Server ! (sarebbe più standard COALESCE, a dire il vero )