@STRCMPNULL
Use the @STRCMPNULL in the same way as @STRCMP function to compare two character columns or literal strings, but if the arguments are NULL, the result value is 0 instead of NULL.
語法
@STRCMPNULL (<string1>, <string2>)
<string1>
要比較的第一個資料欄或文字字串。
<string2>
要比較的第二個資料欄或文字字串。