oracle concat 和 || 区别

语法:concat(str1,str2);

显示:str1str2

总结:concat 只能连接两个字符串,|| 可以连接多个

如果多个字符串拼接,建议 "||",因为多个的话要嵌套concat函数,会消耗性能!

mysql中可以concat(str1,str2,str3...);

猜你喜欢

转载自blog.csdn.net/zheng199172/article/details/86479910