REVERSE function with the REVERSE keyword

Source: Internet
Author: User


REVER
-----
54321

SQL> select reverse ('oracle ') from dual;
REVERS
------
ElcarO

SQL> select reverse ('test') from dual;
REVE
----
????

NAME TYPE VALUE
-----------------------------------------------------------------------------
Nls_language string AMERICAN

'Test'
------
Test

REVERSE ('test ')
---------------
Allow

DUMP ('20140901') DUMP (REVERSE ('20160901 '))
--------------------------------------------------------
Typ = 96 Len = 5: 49,50, 51,52, 53 Typ = 96 Len = 5: 53,52, 51,50, 49
Print the ASCII code of '123' in reverse order.

DUMP ('oracle ') DUMP (REVERSE ('oracle '))
--------------------------------------------------------------------
Typ = 96 Len = 6: 79,114, 108,101, 101,108 Typ = 96 Len = 6 :,

DUMP ('test') DUMP (REVERSE ('test '))
----------------------------------------------------------
Typ = 96 Len = 4: 178,226,202,212 Typ = 96 Len = 4: 212,202,226,178.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.