1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Scalar functions
================
*SQL scalar functions are based on the input value, and return a single value.*
General syntax for scalar functions is: ::
SELECT "function type" ("column_name")
FROM "table_name"
Click on the following scalar functions to learn more:
* UCASE() - Converts a field to upper case
* LCASE() - Converts a field to lower case
* MID() - Extract characters from a text field
* LEN() - Returns the length of a text field
* ROUND() - Rounds a numeric field to the number of decimals specified
* NOW() - Returns the current system date and time
* FORMAT() - Formats how a field is to be displayed
|