跳到主要内容

from_base64

from_base64

description

Syntax

VARCHAR from_base64(VARCHAR str)

返回对输入的字符串进行Base64解码后的结果

example

mysql> select from_base64('MQ==');
+---------------------+
| from_base64('MQ==') |
+---------------------+
| 1 |
+---------------------+

mysql> select from_base64('MjM0');
+---------------------+
| from_base64('MjM0') |
+---------------------+
| 234 |
+---------------------+

keywords

from_base64