[MDEV-11516] Support of opérator || for string concatenation Created: 2016-12-09  Updated: 2017-04-09  Resolved: 2017-02-01

Status: Closed
Project: MariaDB Server
Component/s: OTHER, Parser
Fix Version/s: 10.3.0

Type: Task Priority: Major
Reporter: Jérôme Brauge Assignee: Alexander Barkov
Resolution: Duplicate Votes: 0
Labels: Compatibility

Issue Links:
Duplicate
duplicates MDEV-11880 sql_mode=ORACLE: Make the concatenati... Closed
Relates
relates to MDEV-11070 Providing compatibility to other data... Open

 Description   

Oracle CONCAT function admit only two string to concat
https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions026.htm#i77004

Concatenation operator (||) is more used.
https://docs.oracle.com/cd/B19306_01/server.102/b14200/operators003.htm#i997789

His behavior is similar to concat_ws with '' as separator
Exemple:
select 'a'||null||'c' from dual;
return 'ac'


Generated at Thu Feb 08 07:50:33 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.