mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 04:52:10 +00:00
5 lines
343 B
MySQL
5 lines
343 B
MySQL
|
drop table if exists unhex_in_fix_string_table;
|
||
|
create table unhex_in_fix_string_table ( dt Date, s1 FixedString(20), s2 String) engine=MergeTree partition by dt order by tuple();
|
||
|
insert into unhex_in_fix_string_table values(today(), '436C69636B486F757365', '436C69636B486F757365');
|
||
|
select unhex(s1), unhex(s2) from unhex_in_fix_string_table;
|