invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

URLENCODE

Syntax

%%{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))

Purpose

The URLENCODE SQL function encodes a url.

See also URLDECODE.

Parameters:

  • Url (varchar2): url to encode.

Returns: the encoded url.

Examples

The following example encodes an URL:

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

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

The following example retrieves null since the input is null:

select urlencode(null)

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