URLENCODE
Sintassi
%%{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))
Scopo
La funzione SQL URLENCODE codifica un URL.
Vedi anche URLDECODE.
Parametri:
- URL (
varchar2): URL da codificare.
Restituisce: l'URL codificato.
Esempi
L'esempio seguente codifica un URL:
select urlencode('https://www.nu.nl/?page%2dxx')
---------------------------------------
https%3A%2F%2Fwww.nu.nl%2F%3Fpage%252dxx
L'esempio seguente recupera l'null, poiché l'input è null:
select urlencode(null)
---------------------------------------