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, 1278🔥, 0💬
Popular Posts:
What is SQL Server Transact-SQL (T-SQL)? SQL Server Transact-SQL, also called T-SQL, is an extension...
How Many Groups of Data Types in MySQL? MySQL support 3 groups of data types as listed below: String...
How To Assign Debug Privileges to a User in Oracle? In order to run SQL Developer in debug mode, the...
How To Generate CREATE VIEW Script on an Existing View in SQL Server? If you want to know how an exi...
How To Start MySQL Server in MySQL? If you want to start the MySQL server, you can run the "mysqld" ...