uscalar

Description

Returns the Unicode scalar value for the first Unicode character in an expression.

Syntax

uscalar(uchar_expr)

Parameters

uchar_expr

is a character-type column name, variable, or constant expression of unichar, or univarchar type.

Usage

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute uscalar.

See also

For general information about string functions, see “String functions”.

Functions ascii