Softerra LDAP Administrator Help | Show AllHide All |
The function returns the number of symbols in the specified string expression.
string_expression - can be a constant, attribute or result of the function that returns a string.
The following example searches for all users whose otherTelephone attribute is less then 6 digits.
SELECT $otherTelephone FROM ROOTDSE WHERE EXISTS $otherTelephone AND CHARACTER_LENGTH($otherTelephone)<6;