运算符类似于PL/SQL中的+=或.=


Operator analogous to += or .= in PL/SQL?

我想知道是否有一个操作符可以在PL/SQL中使用,这样我就可以将字符串与它们自己连接起来,例如我们在PHP:

$myStr .= "more text";

表示:$myStr接收自身加上字符串"more text"

虽然我不相信在PL/SQL中有复合赋值运算符,字符串连接运算符是||,所以至少你可以这样做:

my_str := my_str || 'more text';

据我所知,只有||可以连接字符串和concat函数。

    http://www.techonthenet.com/oracle/functions/concat2.php
  • http://www.techonthenet.com/oracle/functions/concat.php