bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL Server REVERSE() Function

Example

SELECT REVERSE('SQL Tutorial');

Definition and Usage

The REVERSE() function reverses a string and returns the result.

Syntax

REVERSE(
string
)

Parameter Values

ParameterDescription
stringRequired. The string to reverse

Technical Details

Works in:SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse

Previous

SQL Server REPLICATE() Function

Next

SQL Server RIGHT() Function