mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
11 lines
328 B
SQL
11 lines
328 B
SQL
drop table if exists ips_v6;
|
|
create table ips_v6(i IPv6) Engine=Memory;
|
|
|
|
INSERT INTO ips_v6 SELECT toIPv6('::ffff:127.0.0.1');
|
|
INSERT INTO ips_v6 values ('::ffff:127.0.0.1');
|
|
INSERT INTO ips_v6 FORMAT TSV ::ffff:127.0.0.1
|
|
INSERT INTO ips_v6 SELECT ('::ffff:127.0.0.1');
|
|
|
|
SELECT * FROM ips_v6;
|
|
drop table ips_v6;
|