Translations:SMS handler setup/37/en

Boolean

The SQL is optional. If present, it returns a boolean value for the submitted code. For example:

select case upper(trim(%s)) 
 when 'K' then true
 when 'Y' then true
 when 'T' then false 
 when 'N' then false
else null end