발행일 : 03/10/2025

System SQL Functions

Function

SQLite

Description

COALESCE( arg1,..., argN )

Yes

Returns the first argument passed to it that is non-NULL. Returns NULL if all arguments are NULL. Requires at least two arguments.

IFNULL( arg1, arg2 )

Yes

Returns arg1 if not NULL, otherwise arg2. Basically, IFNULL is a two-argument version of COALESCE().

NULLIF( arg1, arg2 )

Yes

Returns arg1 if arg1 and arg2 are different and returns NULL if the arguments are equal. Used when you have non-NULL values in your database that you want to treat as NULL.

더 많은 정보를 원하십니까? 질문이 있습니까? JMP 사용자 커뮤니티에서 답변 받기 (community.jmp.com).