UNICODE (Azure Stream Analytics)

Returns the integer value, as defined by the Unicode standard, for the first character of the input expression.

Syntax

UNICODE ( character_expression )

Arguments

character_expression

Is a nvarchar expression to be evaluated. If more than one character is provided, only the first one is considered.

Return Types

bigint

Examples


SELECT
  UNICODE('茶') AS UnicodeTea
FROM Input

Returns:

UnicodeTea
33590