mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
27 lines
1.0 KiB
SQL
27 lines
1.0 KiB
SQL
SELECT 'aяb' LIKE 'a_b';
|
|
SELECT 'a\0b' LIKE 'a_b';
|
|
SELECT 'a\0b' LIKE 'a\0b';
|
|
SELECT 'a\0b' LIKE 'a%\0b';
|
|
SELECT 'a\xFFb' LIKE 'a%\xFFb';
|
|
SELECT 'a\xFFb' LIKE 'a%\xFF\xFEb';
|
|
SELECT 'a\xFFb' LIKE '%a\xFF\xFEb';
|
|
SELECT 'a\xFF\xFEb' LIKE '%a\xFF\xFEb';
|
|
|
|
SELECT materialize('aяb') LIKE 'a_b';
|
|
SELECT materialize('a\0b') LIKE 'a_b';
|
|
SELECT materialize('a\0b') LIKE 'a\0b';
|
|
SELECT materialize('a\0b') LIKE 'a%\0b';
|
|
SELECT materialize('a\xFFb') LIKE 'a%\xFFb';
|
|
SELECT materialize('a\xFFb') LIKE 'a%\xFF\xFEb';
|
|
SELECT materialize('a\xFFb') LIKE '%a\xFF\xFEb';
|
|
SELECT materialize('a\xFF\xFEb') LIKE '%a\xFF\xFEb';
|
|
|
|
SELECT materialize('aяb') LIKE materialize('a_b');
|
|
SELECT materialize('a\0b') LIKE materialize('a_b');
|
|
SELECT materialize('a\0b') LIKE materialize('a\0b');
|
|
SELECT materialize('a\0b') LIKE materialize('a%\0b');
|
|
SELECT materialize('a\xFFb') LIKE materialize('a%\xFFb');
|
|
SELECT materialize('a\xFFb') LIKE materialize('a%\xFF\xFEb');
|
|
SELECT materialize('a\xFFb') LIKE materialize('%a\xFF\xFEb');
|
|
SELECT materialize('a\xFF\xFEb') LIKE materialize('%a\xFF\xFEb');
|