| title | REVERSE (SSIS Expression) | ||
|---|---|---|---|
| description | REVERSE (SSIS Expression) | ||
| author | chugugrace | ||
| ms.author | chugu | ||
| ms.date | 03/01/2017 | ||
| ms.service | sql | ||
| ms.subservice | integration-services | ||
| ms.topic | reference | ||
| helpviewer_keywords |
|
[!INCLUDEsqlserver-ssis]
Returns a character expression in reverse order.
REVERSE(character_expression)
character_expression
Is a character expression to be reversed.
DT_WSTR
The character_expression argument must have the DT_WSTR data type.
REVERSE returns a null result if character_expression is null.
This example uses a string literal. The return result is "ekiB niatnuoM".
REVERSE("Mountain Bike")
This example uses a variable. If Name contains Touring Bike, the return result is "ekiB gniruoT".
REVERSE(@Name)