Data operators
Last updated
In Starcounter SQL, the most common operators on data are implemented.
The standard arithmetic operators, plus (+ x), minus (- x), addition (x + y), subtraction (x - y), multiplication (x * y) and division (x / y), are supported for all numerical types:
SELECT (e.Salary * 12) / 365 FROM Employee eFor the expected datatypes of an arithmetic operation, see Datatypes.
String concatenation (x || y) is supported. See example below.
SELECT e.FirstName || ' ' || e.LastName FROM Employee eLast updated