Link Search Menu Expand Document

BASE64_ENCODE

Encodes a string into Base64 notation.

Syntax

BASE64_ENCODE(<expr>)
Parameter Description
<expr> Any expression that evaluates to a STRING, TEXT, or VARCHAR data type

Example

SELECT
	BASE64_ENCODE('Hello World');

Returns: SGVsbG8gV29ybGQ=