
- Learn MySQL
- MySQL - Home
- MySQL - Introduction
- MySQL - Installation
- MySQL - Administration
- MySQL - PHP Syntax
- MySQL - Connection
- MySQL - Create Database
- MySQL - Drop Database
- MySQL - Select Database
- MySQL - Data Types
- MySQL - Create Tables
- MySQL - Drop Tables
- MySQL - Insert Query
- MySQL - Select Query
- MySQL - Where Clause
- MySQL - Update Query
- MySQL - Delete Query
- MySQL - Like Clause
- MySQL - Sorting Results
- MySQL - Using Join
- MySQL - NULL Values
- MySQL - Regexps
- MySQL - Transactions
- MySQL - Alter Command
- MySQL - Indexes
- MySQL - Temporary Tables
- MySQL - Clone Tables
- MySQL - Database Info
- MySQL - Using Sequences
- MySQL - Handling Duplicates
- MySQL - SQL Injection
- MySQL - Database Export
- MySQL - Database Import
Which function in MySQL is used to reverse a particular string?
MySQL REVERSE() function can be used to reverse a string. Following example will demonstrate it −
mysql> Select REVERSE('Tutorialspoint'); +---------------------------+ | REVERSE('Tutorialspoint') | +---------------------------+ | tniopslairotuT | +---------------------------+ 1 row in set (0.00 sec) mysql> Select Reverse('10-11-12'); +---------------------+ | Reverse('10-11-12') | +---------------------+ | 21-11-01 | +---------------------+ 1 row in set (0.00 sec)
- Related Articles
- Which PHP function is used to select a MySQL database?
- Which PHP function is used to create a MySQL table?
- Function to reverse a string JavaScript
- String reverse vs reverse! function in Ruby
- MySQL BIT_LENGTH() function is used for which purpose?
- In MySQL, which function we can use to find the index position of a particular string from a list of strings?
- Which PHP function is used to disconnect from MySQL database connection?
- Which PHP function is used to delete an existing MySQL table?
- Which MySQL function can be used to find out the length of the string in bits?
- Which function in MySQL is used to add white spaces between two strings?
- What is the reverse function of CHAR() in MySQL
- Which CSS property is used to run Animation in Reverse Direction?
- Which PHP function is used to establish MySQL database connection using PHP script?
- Which PHP function is used to insert data into an existing MySQL table?
- Which PHP function is used to release cursor memory associated with MySQL result?

Advertisements