Scalar Functions in a WHERE Clause

Advantage SQL Engine

The following are the scalar functions that can be used in the WHERE clause of a live cursor. If scalar functions other than the ones listed in this table are used, the resulting cursor will be static.

ABS

CURTIME

OCTET_LENGTH

BIT_LENGTH

EMPTY

NOW

CHAR

IFNULL

PI

CHAR_LENGTH

IIF

POSITION

CHARACTER_LENGTH

ISNULL

POWER

CONCAT

LCASE

RIGHT

CONTAINS

LEFT

RTRIM

CURDATE

LENGTH

SPACE

CURRENT_DATE

LOCATE(x, y)

SUBSTRING

CURRENT_TIME

LOWER

UCASE

 

LTRIM

UPPER

Note LOCATE(x,y,z) results in a static cursor.