TechNet
Expand All
The document is archived and information here might be outdated

String Functions (Transact-SQL)

The following scalar functions perform an operation on a string input value and return a string or numeric value:

ASCII

NCHAR

SOUNDEX

CHAR

PATINDEX

SPACE

CHARINDEX

QUOTENAME

STR

DIFFERENCE

REPLACE

STUFF

LEFT

REPLICATE

SUBSTRING

LEN

REVERSE

UNICODE

LOWER

RIGHT

UPPER

LTRIM

RTRIM

 

All built-in string functions are deterministic. This means they return the same value any time they are called with a specific set of input values. For more information about function determinism, see Deterministic and Nondeterministic Functions.

Show:
© 2016 Microsoft