LEN(Azure 流分析)

返回指定字符串表达式的字符数,其中不包含尾随空格。

语法

LEN ( string_expression )  
  

参数

string_expression

是要计算的字符串表达式。 string_expression可以是 nvarchar 类型的常量或列 (max)

返回类型

bigint

示例

SELECT TollId, EntryTime, LicensePlate, LEN (LicensePlate) AS Len_License  
FROM Input TIMESTAMP BY EntryTime  
WHERE Toll > 5