Takes one argument as an input of type BINARY or STRING and returns the specified string with characters listed in reverse order.
Parameter |
Description |
---|---|
expression |
A character or binary-type column name, variable, or constant expression of CHAR, VARCHAR, NCHAR, NVARCHAR, BINARY, or VARBINARY type. |
LONG VARCHAR
LONG NVARCHAR
The result data type is a LONG VARCHAR. If you use REVERSE in a SELECT INTO statement, you must have an Unstructured Data Analytics Option license or use CAST and set REVERSE to the correct data type and size.