URLENCODE
Syntaksi
%%{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))
Tarkoitus
The URLENCODE SQL function encodes a url.
Katso myös URLDECODE.
Parametrit:
- Url (
varchar2): url to encode.
Returns: the encoded url.
Esimerkkejä
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)
---------------------------------------