Accessing and Changing Relational Data

Using String Functions

String functions are used for various operations on character and binary strings, and they return values commonly needed for operations on character data. Most string functions can be used only on char, nchar, varchar, and nvarchar data types or the data types that implicitly convert to them. A few string functions can also be used on binary and varbinary data.

You can use string functions to:

When string functions operate on strings that have different collations, the collation of the result is determined using the rules of collation precedence. For more information, see Collation Precedence.