Documentación de Invantiveparte de Invantive Cloud
Foros de Soporte de InvantiveIniciar Sesión / Registrarse

URLENCODE

Sintaxis

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

Propósito

La función SQL URLENCODE codifica una URL.

Véase también URLDECODE.

Parámetros:

  • URL (varchar2): URL que se va a codificar.

Devuelve: la URL codificada.

Ejemplos

En el siguiente ejemplo se codifica una URL:

select urlencode('https://www.nu.nl/?page%2dxx')

---------------------------------------
https%3A%2F%2Fwww.nu.nl%2F%3Fpage%252dxx

En el siguiente ejemplo se recupera null, ya que la entrada es null:

select urlencode(null)

---------------------------------------