The following table lists all of the SQL string operators and functions supported by EBX®, along with their standard SQL syntax. Some functions can have optional parameters: they are surrounded by square brackets.
Operator syntax | Description and example(s) |
---|---|
string || string | Concatenates two character strings
|
CHAR_LENGTH(string) | Returns the number of characters in a character string
|
CHARACTER_LENGTH(string) | As CHAR_LENGTH(string)
|
UPPER(string) | Returns a character string converted to upper case
|
POSITION(string1 IN string2 [FROM integer]) | Returns the position of the first occurrence of string1 in string2 starting at a given point if specified
|
TRIM( { BOTH | LEADING | TRAILING } character FROM string) | Removes the longest string containing only the character from the start/end/both ends of string
|
OVERLAY(string1 PLACING string2 FROM integer [ FOR integer2 ]) | Replaces a substring of string1 with string2
|
SUBSTRING(string FROM integer [FOR integer]) | Returns a substring of a character string starting at a given point
|