String Operators (Transact-SQL)

String Operators (Transact-SQL)

 

SQL Server provides the following string operators. String concatenation operators can combine two or more character or binary strings, columns, or a combination of strings and column names into one expression. Wildcard string operators can matches one or more characters in a string comparison operation such as LIKE or PATINDEX.

+ (String Concatenation)

+= (String Concatenation)

% (Wildcard - Character(s) to Match)

[ ] (Wildcard - Character(s) to Match)

[^] (Wildcard - Character(s) Not to Match)

_ (Wildcard - Match One Character)

Community Additions

ADD
Show:
© 2016 Microsoft