base64_encode_emit¶
base64_encode_emit
Base64 Encoding utility that emits both the original and the encoded string.
Parameters: p_string (
str) – The input string of characters to be encoded.returns: decoded (str) – The original, unencoded input string. encoded (str): The resulting Base64 encoded string.
Examples¶
Encoding multiple strings
1select base64_encode_emit(decoded_str)
2from (
3 select 'a;b c ü ß' as decoded_str
4 union all
5 select 'a'
6);