4D v12.1NULLIF |
||||||||||||||
|
4D v12.1
NULLIF
|
NULLIF (arithmetic_expression, arithmetic_expression) |
||
NULLIF関数は、一番目のarithmetic_expressionと二番目のarithmetic_expressionが等しい時NULLを返します。そうでなければ一番目のarithmetic_expressionが返されます。二番目のarithmetic_expressionは比較可能でなければなりません。
この例題は総請求額が0のときNullを返します:
NULLIF(INVOICE_TOTAL,0);
プロダクト: 4D
テーマ: 関数