该警告是指在进行sum求和运算时,将不把NULL来进行运算.

解决方案 »

  1.   

    用isnull函数吧ISNULL (T-SQL)
    Replaces NULL with the specified replacement value.Syntax
    ISNULL(check_expression, replacement_value)Arguments
    check_expression 
    Is the expression to be checked for NULL. check_expression can be of any type. 
    replacement_value 
    Is the expression to be returned if check_expression is NULL. replacement_value must have the same type as check_expresssion. 
    Return Types
    Returns the same type as check_expression.Res
    The value of check_expression is returned if it is not NULL; otherwise, replacement_value is returned.