Microsoft - Microsoft SQL Server - SQL - Sum - Sum with isnull and Cast
ISNULL
(
SUM
(
CAST
(
zMaster
AS
INT
)
)
,
0
)
AS
Report_Count