莱恩

✅ 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