dokumentace k produktu Invantivesoučást invantive cloud
Fóra podpory InvantivePřihlásit se/ Zaregistrujte se

REVERSE

Syntaxe

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    Start((START)) --> REVERSE[REVERSE]:::quoted
    REVERSE --> End((END))

Účel

The REVERSE SQL function flips the input around.

Parametry:

  • Input (varchar2): text to flip around.

Returns: the text with its characters in reversed order.

Příklady

The following example reverses the text abc:

select reverse('abc')

-------------------
cba

The following example reverses a reversed text, returning the original input:

select reverse(reverse('abc'))

-------------------
abc