mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
15 lines
421 B
SQL
15 lines
421 B
SQL
CREATE TEMPORARY TABLE test (x Float32, y Float64, z UInt64, s String);
|
|
|
|
INSERT INTO test FORMAT CSV 123.456,789.012,345678,Hello
|
|
|
|
SET format_csv_delimiter = ';';
|
|
INSERT INTO test FORMAT CSV 123.456;789.012;345678;Hello
|
|
|
|
SET format_csv_delimiter = ':';
|
|
INSERT INTO test FORMAT CSV 123.456:789.012:345678:Hello
|
|
|
|
SET format_csv_delimiter = '|';
|
|
INSERT INTO test FORMAT CSV 123.456|789.012|345678|Hello
|
|
|
|
SELECT * FROM test;
|