メインコンテンツまでスキップ
に最終更新

URL_DECODE

説明​

URL をデコードした文字列に変換します。

構文​

URL_DECODE( <str> )

必須パラメータ​

パラメータ説明
<str>デコードする文字列。URL が文字列型ではない場合。

戻り値​

デコードした値を返します。

例​

select url_decode('https%3A%2F%2Fdoris.apache.org%2Fzh-CN%2Fdocs%2Fsql-manual%2Fsql-functions%2Fstring-functions');
+------------------------------------------------+
| url_decode('https%3A%2F%2Fdoris.apache.org%2Fzh-CN%2Fdocs%2Fsql-manual%2Fsql-functions%2Fstring-functions') |
+------------------------------------------------+
| https://doris.apache.org/zh-CN/docs/sql-manual/sql-functions/string-functions |
+------------------------------------------------+