dcsimg
 

Reverse Strings in SQL

Wednesday Dec 19th 2018 by Hannes Du Preez

Language: SQL, Expertise: Intermediate - Learn learn more about a SQL query with which you can reverse strings.

You can reverse strings in SQL by executing a query similar to this one. This query makes use of the REVERSE SQL function.

SELECT FirstName, REVERSE(FirstName) AS Reverse 
FROM Employees 
WHERE FirstName LIKE '%Hannes%'
Home
Mobile Site | Full Site