メインコンテンツまでスキップ
バージョン: 4.x

URL_DECODE

説明

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

構文

URL_DECODE( <str> )

Required パラメータ

パラメータデスクリプション
<str>デコードする文字列。urlが文字列型でない場合。

Return Value

デコードされた値

Example

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 |
+------------------------------------------------+