IsGreater



Returns true (1) if the first value is greater than the second.

Boolean IsGreater(Numeric value1, Numeric value2)

Boolean results

Boolean functions return 1 for true and 0 for false. In a WHERE clause compare the result to 1 (or true), for example: WHERE IsLike(Text, 'Cat%') = 1


round-pushpin Labels words as long or short.
SELECT Text, IIF(IsGreater(Length(Text), 4), 'long', 'short') as Size FROM WordList:Word WHERE LanguageId = 1