Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » SQL Anywhere Server - SQL Reference » Using SQL » SQL functions » Alphabetical list of functions

 

REVERSE function [String]

Returns the reverse of a character expression.

Syntax
REVERSE( string-expression )
Parameters
  • string-expression   The string to be reversed.

Remarks

This function supports NCHAR inputs and/or outputs.

See also
Standards and compatibility
  • SQL/2003   Vendor extension.

Example

The following statement returns the value cba.

SELECT REVERSE( 'abc' );