SQL Basic
SQL Advanced
SQL Functions
| SQL len() |
The LEN() FunctionThe LEN() function returns the length of the value in a text field. SQL LEN() Syntax
SQL LEN() ExampleWe have the following "Persons" table:
Now we want to select the length of the values in the "Address" column above. We use the following SELECT statement:
The result-set will look like this:
|
SQL len()