String Functions (Transact-SQL)
Collapse the table of content
Expand the table of content

String Functions (Transact-SQL)

 

Updated: February 25, 2016

THIS TOPIC APPLIES TO: yesSQL Server (starting with 2008)yesAzure SQL DatabaseyesAzure SQL Data Warehouse yesParallel Data Warehouse

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

ASCIILTRIMSOUNDEX
CHARNCHARSPACE
CHARINDEXPATINDEXSTR
CONCATQUOTENAMESTRING_ESCAPE
DIFFERENCEREPLACESTRING_SPLIT
FORMATREPLICATESTUFF
LEFTREVERSESUBSTRING
LENRIGHTUNICODE
LOWERRTRIMUPPER

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.

When string functions are passed arguments that are not string values, the input type is implicitly converted to a text data type. For more information, see Data Type Conversion (Database Engine).

Built-in Functions (Transact-SQL)

Community Additions

ADD
Show:
© 2016 Microsoft