SQL> select reverse('123456789') from dual;
REVERSE('
---------
987654321
SQL> select reverse('bom dia!') from dual;
REVERSE(
--------
!aid mob
SQL> select reverse('GLUFKE') from dual;
REVERS
------
EKFULG
Curiosity - Reverse Function
- dr_gori
- Moderador
- Posts: 5024
- Joined: Mon, 03 May 2004 3:08 pm
- Location: Portland, OR USA
- Contact:
Thomas F. G
Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered
Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered
There is a non-documented function:
-
- Rank: Estagiário Sênior
- Posts: 8
- Joined: Thu, 19 Aug 2004 9:45 am
- Location: Angola
- Contact:
Charles Mafra
Oracle Developer
Oracle Developer
Reverse can also be used for a loop being covered from the highest value for the lowest, as in the example ...
Good did not know the command Reverse as mentioned earlier, as this is a PL / SQL forum, I remembered this.
Good did not know the command Reverse as mentioned earlier, as this is a PL / SQL forum, I remembered this.
-
- Rank: Estagiário Sênior
- Posts: 12
- Joined: Mon, 18 Aug 2014 3:51 pm
The interesting thing is that the reverse does not work like this:
Error report -
ORA-06550: Line 8, column 15:
PLS-00201: The 'reverse' identifier must be declared
or-06550: line 8, column 2:
Error report -
ORA-06550: Line 8, column 15:
PLS-00201: The 'reverse' identifier must be declared
or-06550: line 8, column 2:
-
- Information
-
Who is online
Users browsing this forum: Bing [Bot] and 9 guests