REVERSE Function - SQL Server to PostgreSQL Migration

In SQL Server and PostgreSQL, the REVERSE function returns the string in the reverse order of characters.

SQL Server:

  -- Reverse string
  SELECT REVERSE('abc');
  # cba

PostgreSQL:

  -- Reverse string
  SELECT REVERSE('abc');
  # cba

For more information, see SQL Server to PostgreSQL Migration.