# REVERSE

{% hint style="info" %}
**Important Notice: Migration of Documentation Website**

Please be advised that our documentation website is currently undergoing a migration to a new platform. To ensure you have access to the most up-to-date information, we kindly request that you visit our new documentation website located at:

[Official Snowflake Snowconvert Documentation](https://docs.snowflake.com/en/migrations/snowconvert-docs/translation-references/transact/README)

For any immediate assistance or if you encounter any issues, please contact our support team at [snowconvert-support@snowflake.com](mailto:snowconvert-support@snowflake.com).

Thank you for your understanding.
{% endhint %}

<details>

<summary>Applies to</summary>

* [x] SQL Server
* [x] Azure Synapse Analytics

</details>

## Description

Reverses a string ([REVERSE in Transact-SQL](https://docs.microsoft.com/en-us/sql/t-sql/functions/reverse-transact-sql?view=sql-server-ver15)).

## Sample Source Pattern

### Syntax

```
REVERSE( string_expression )
```

#### Arguments

`string_expression`: String expression to reverse.

#### Return Type

The same data type of the string expression sent as a parameter.

## Examples

{% tabs %}
{% tab title="Query" %}
```sql
SELECT REVERSE('rotator') AS PALINDROME;
```
{% endtab %}

{% tab title="Result" %}
```
      PALINDROME|      
----------------+
         rotator|  
```
{% endtab %}
{% endtabs %}

## Known Issues <a href="#known-issues" id="known-issues"></a>

No issues were found.

## Related EWIs <a href="#related-ewis" id="related-ewis"></a>

No related EWIs.
