Skip to content

Encodes a string for use in a URL.

func.url_encode(<str>)
func.url_encode('hello world')
┌─────────────────┐
│ 'hello%20world' │
└─────────────────┘
URL_ENCODE(<str>)
SELECT URL_ENCODE('hello world');
┌───────────────┐
│ hello%20world │
└───────────────┘