Column expressions may contain functions calls. A function call is signalled by the required presence of parentheses around the column name or literal. The function name is the name immediately preceding the opening parenthesis:
Functions expect 0, 1 or multiple arguments, which may be required or optional depending on the function. Function arguments are separated by commas. Functions may be nested.
The SQL functions supported by USoft are listed here.
In this example, the UPPER( ) function converts retrieved values from the NAME column to all-uppercase. The result is passed as the first argument of the SUBSTR( ) function, which in this case takes 2 arguments, the input string and the number 5, which causes it to return the input string from position 5 onward.
This example returns the string SON if the retrieved name is Johnson.
Invocations of methods of RDMI components are a special case of function call. These invocations are signalled by the presence of a full-stop separator ( . ) in the function name:
These invocations can alternatively be expressed by an INVOKE ... WITH SELECT statement.