다음을 통해 공유


✅ Azure Stream Analytics ✅ Fabric Eventstream

후행 공백을 제외하고 지정된 문자열 식의 문자 수를 반환합니다.

문법

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