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

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - SQL Reference » Using SQL » SQL functions » SQL functions (P-Z)

 

REVERSE function [String]

Returns the reverse of a character expression.

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

Returns

LONG VARCHAR

LONG NVARCHAR

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' );