Share via


LEN (Azure Stream Analytics)

指定された文字列式の、末尾の空白を除いた文字数を返します。

構文

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