mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 20:12:02 +00:00
8 lines
302 B
MySQL
8 lines
302 B
MySQL
|
select splitByChar(',', '1,2,3');
|
||
|
select splitByChar(',', '1,2,3', 0);
|
||
|
select splitByChar(',', '1,2,3', 1);
|
||
|
select splitByChar(',', '1,2,3', 2);
|
||
|
select splitByChar(',', '1,2,3', 3);
|
||
|
|
||
|
select splitByChar(',', '1,2,3', -2); -- { serverError 44 }
|
||
|
select splitByChar(',', '1,2,3', ''); -- { serverError 43 }
|