Collections:
REVERSE() - Reversing String
How to reverse a given string using the REVERSE() function?
✍: FYIcenter.com
REVERSE(str) is a MySQL built-in function that
repeats a substring in a given string.
For example:
SELECT REVERSE('oprah');
-- +------------------+
-- | REVERSE('oprah') |
-- +------------------+
-- | harpo |
-- +------------------+
Reference information of the REVERSE() function:
REVERSE(str): modstr Returns the string str with the order of the characters reversed, or NULL if str is NULL. Arguments, return value and availability: str: Required. The given string to be reversed. modstr: Return value. The reversed string. Available since MySQL 4.0.
⇐ REPLACE() - Replacing Substring
2023-11-13, 1532🔥, 0💬
Popular Posts:
Where to find answers to frequently asked questions on Conditional Statements and Loops in SQL Serve...
How To Revise and Re-Run the Last SQL Command in Oracle? If executed a long SQL statement, found a m...
Where to find answers to frequently asked questions on Transaction Management: Commit or Rollback in...
How To List All Stored Procedures in the Current Database in SQL Server Transact-SQL? If you want to...
What Are the Underflow and Overflow Behaviors on FLOAT Literals in SQL Server Transact-SQL? If you e...