mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
15 lines
349 B
SQL
15 lines
349 B
SQL
SET send_logs_level = 'none';
|
|
|
|
select lcase('FOO');
|
|
select ucase('foo');
|
|
select LOWER('Foo');
|
|
select UPPER('Foo');
|
|
select REPLACE('bar', 'r', 'z');
|
|
select Locate('foo', 'o');
|
|
select SUBSTRING('foo', 1, 2);
|
|
select Substr('foo', 2);
|
|
select mid('foo', 3);
|
|
select IF(3>2, 1, 0);
|
|
select substring('foo' from 1 + 1);
|
|
select SUBSTRING('foo' FROM 2 FOR 1);
|