4D v16

NULLIF

ホーム

 
4D v16
NULLIF

NULLIF  


 

 

Command NULLIF

NULLIF (arithmetic_expression, arithmetic_expression)

説明  

NULLIF関数は、一番目のarithmetic_expressionと二番目のarithmetic_expressionが等しい時NULLを返します。そうでなければ一番目のarithmetic_expressionが返されます。二番目のarithmetic_expressionは比較可能でなければなりません。

例題  

この例題は総請求額が0のときNullを返します:

NULLIF(INVOICE_TOTAL,0);

 
プロパティ 

プロダクト: 4D
テーマ: 関数

 
履歴 

 
ARTICLE USAGE

SQLリファレンス ( 4D v16)