mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 19:42:00 +00:00
5 lines
343 B
SQL
5 lines
343 B
SQL
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;
|