Funkce MS Access Len() .
Příklad
Vraťte délku řetězce:
SELECT Len("SQL Tutorial") AS LengthOfString;
Definice a použití
Funkce Len() vrací délku řetězce.
Syntax
Len(string/varname)
Hodnoty parametrů
Parameter | Description |
---|---|
string/varname | Required. The string or variable name to return the length for |
Technické údaje
Pracuje v: | Od Access 2000 |
---|
Další příklady
Příklad
Vraťte délku textu ve sloupci „CustomerName“:
SELECT Len(CustomerName) AS LengthOfString
FROM Customers;