“||”之间的区别是什么?运算符和concat函数在Oracle? [英] What is the difference between "||" operator and concat function in Oracle?
本文介绍了“||”之间的区别是什么?运算符和concat函数在Oracle?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可以解释Oracle中 concat()
函数和 ||
运算符之间的差异?
Would it be possible to explain the difference between the concat()
function and the ||
operator in Oracle?
哪一个在性能方面更好?
Which one is better in terms of performance?
推荐答案
是没有功能差异的。
||
是ANSI标准字符串连接运算符< cough> SQL Server< / cough>
选择支持标准)。许多数据库支持 CONCAT
函数,因此使用 CONCAT
将代码移植到不同的数据库可能更容易。
||
is the ANSI standard string concatenation operator (though, unfortunately, not every database <cough>SQL Server</cough>
chooses to support the standard). Many databases support a CONCAT
function so it may be easier to port code using CONCAT
to different databases.
这篇关于“||”之间的区别是什么?运算符和concat函数在Oracle?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文