The ToBase64()
function encodes a text or a file to base64 encoded text.
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Encoding is carried out using the UTF8 charset.
Returns a base64 encoded text.
If the parameter is not a valid text or a file, unknown is returned.
Name | Type | Required | Description |
---|---|---|---|
text
text
a text
file
file
a file