Type | Character | Meaning |
|---|
Replacement characters | % | Wildcard for no character or any number of unknown characters. Only % finds all fields not containing NULL. |
? | Wildcard for exactly one unknown character. |
Logical operators * | | | Links two or more words within a search string with OR (at least one must match), e.g., company | firm. The | symbol (pipe) must be enclosed in blanks, so that it is interpreted as a logical operator. |
& | Links two or more words within a search entry with AND, the CRM default (each of them must match). |
! | NEGATOR**. Excludes a word explicitly, e.g.!firm. The operator does not include empty entries. If empty entries are to be included as well, add |NULL. |
~ | The SOUNDEX-Operator finds similar-sounding words. The similarity search is limited to word beginnings. If possible, avoid using the similarity search in fields with composite content (Name), and use it for specific fields in the filter dialog (Last name). |
Comparison operators *** | > | Lexically or numerically greater |
>= | Lexically or numerically greater or equal |
< | Lexically or numerically less |
<= | Lexically or numerically less or equal |
Expressions | '' (two single quotation marks) | Query for empty fields (NULL); !NULL and !'' searches for non-empty fields. |
'%word1 wordt2 ...%' | Query for an exact match with the character string enclosed in single quotes within a field entry. Between the single quotes, wildcard characters are allowed and are handled as such. A word enclosed in quotation marks may only be preceded by a space or a negator and followed by a space. |
* If a search entry contains several different logical operators, precedence applies: ! before & before |. To control the priority of operations in the search entry, brackets ( ) can be used. Brackets at the start or end of a word are interpreted as auxiliary symbols. If an opening or closing bracket is missing, the other one is ignored.
** Negators and comparison operators always need to be at the start of a word. If a blank follows the symbol, it is not interpreted as an operator but as a word. There is no double negation. With two exclamation marks at the beginning of a word, only the first one is interpreted as a negator.
*** Several comparison expressions can be logically AND- or OR-linked with each other. In this case, negators and wildcard characters do not make sense and are not supported.