From 142eb6d5e48029f14a61da3eeef855e4382c5c3b Mon Sep 17 00:00:00 2001 From: sqyyeah <948885883@qq.com> Date: Mon, 24 Aug 2020 15:50:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E6=96=99=E4=B8=AD=E5=A2=9E=E5=8A=A0co?= =?UTF-8?q?ncat=E5=87=BD=E6=95=B0=EF=BC=8Cconcat=5Fws=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E5=AF=B9=E7=A9=BA=E5=8F=82=E6=95=B0=E7=9A=84=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\260\345\222\214\346\223\215\344\275\234\347\254\246.md" | 6 ++++++ 1 file changed, 6 insertions(+) diff --git "a/content/zh/docs/Developerguide/\345\255\227\347\254\246\345\244\204\347\220\206\345\207\275\346\225\260\345\222\214\346\223\215\344\275\234\347\254\246.md" "b/content/zh/docs/Developerguide/\345\255\227\347\254\246\345\244\204\347\220\206\345\207\275\346\225\260\345\222\214\346\223\215\344\275\234\347\254\246.md" index 4104d8af8..1723f9a40 100644 --- "a/content/zh/docs/Developerguide/\345\255\227\347\254\246\345\244\204\347\220\206\345\207\275\346\225\260\345\222\214\346\223\215\344\275\234\347\254\246.md" +++ "b/content/zh/docs/Developerguide/\345\255\227\347\254\246\345\244\204\347\220\206\345\207\275\346\225\260\345\222\214\346\223\215\344\275\234\347\254\246.md" @@ -1180,6 +1180,8 @@ openGauss提供的字符处理函数和操作符主要用于字符串与字符 - concat\(str1,str2\) 描述:将字符串str1和str2连接并返回。 + >![](public_sys-resources/icon-notice.gif) **须知:** + >数据库SQL兼容模式设置为MY的情况下,参数str1或str2为NULL会导致返回结果为NULL。 返回值类型:varchar @@ -1259,6 +1261,10 @@ openGauss提供的字符处理函数和操作符主要用于字符串与字符 描述:以第一个参数为分隔符,链接第二个以后的所有参数。NULL参数被忽略。 + >![](public_sys-resources/icon-notice.gif) **须知:** + >- 如果第一个参数值是NULL, 会导致返回结果为NULL。 + >- 如果第一个参数值是空字符串(''),且数据库SQL兼容模式设置为ORA的情况下,会导致返回结果为NULL。这是因为ORA兼容模式>将''作为NULL处理,避免此类行为,可以将数据库SQL兼容模式改为MY,TD或者PG; + 返回值类型:text 示例: -- Gitee