云日志服务 LTS-字符串函数:textcat函数

时间:2024-01-25 20:23:05

textcat函数

将两个字符串拼接起来,返回拼接后的结果。

语法:textcat(str1, str2)

表16 参数说明

参数名称

描述

类型

是否必选

str1

待拼接字符串1。

String

str2

待拼接字符串2。

String

返回值类型:String类型

示例:SELECT TEXTCAT('hello ', 'world')

表17 查询分析结果

类型

场景

查询语句

TEXTCAT('hello ', 'world')

返回结果

hello world

support.huaweicloud.com/usermanual-lts/lts_07_0093.html