Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.99 KB

File metadata and controls

47 lines (38 loc) · 1.99 KB
title String Operators (Transact-SQL) | Microsoft Docs
ms.custom
ms.date 03/14/2017
ms.prod sql-non-specified
ms.prod_service sql-database
ms.service
ms.component t-sql|language-elements
ms.reviewer
ms.suite sql
ms.technology
database-engine
ms.tgt_pltfrm
ms.topic language-reference
dev_langs
TSQL
helpviewer_keywords
operators [Transact-SQL], string concatenation
plus sign (+)
string concatenation operators
+ (string concatenation)
ms.assetid ee4e715d-d8f1-4d0e-81b3-04573ec9f13c
caps.latest.revision 30
author douglaslMS
ms.author douglasl
manager jhubbard
ms.workload On Demand

String Operators (Transact-SQL)

[!INCLUDEtsql-appliesto-ss2012-xxxx-xxxx-xxx-md]

[!INCLUDEssNoVersion] 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.

Section Heading

+ (String Concatenation)

+= (String Concatenation Assignment)

% (Wildcard - Character(s) to Match)

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

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

_ (Wildcard - Match One Character)