Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
データの特定サブセットを返す探索条件を設定します。
IF search-condition THEN expression1 [ ELSE expression2 ] ENDIF
互換性を保つために、この式は ENDIF または END IF で終了できます。
この式は次のように返します。
search-condition が TRUE の場合、IF 式は expression1 を返します。
search-condition が FALSE で、ELSE 句が指定されている場合、IF 式は expression2 を返します。
search-condition が FALSE で expression2 がない場合、IF 式は NULL を返します。
search-condition が UNKNOWN の場合、IF 式は NULL を返します。